Thursday, October 11, 2012

Convert text with iconv

Convert from UTF-8 to windows-1251
example:
 $text = 'Hello world';
iconv('utf8', 'windows-1251', $text);