Your browser (Internet Explorer 6) is out of date. It has known security flaws and may not display all features of this and other websites. Learn how to update your browser.
X
Post

Converting from UTF-16 to UTF-8

Sometimes files that are output by Windows machines default to Windows Unicode – which is to say, UTF-16. Sometimes you will want to represent this as UTF-8. In this situation, use this function:

$string = mb_convert_encoding($string, ‘UTF-8′, ‘UTF-16′);

It will solve your problem.