Image

Imagetithonus wrote in Imagephp

mb_convert_encoding problem

hello, i have a question about mbstrings. i'm bringing back a japanese string from a mysql database. i can't seem to do anything to stop it returning in jis format. the mbstrings documentation tells me that they don't work with jis, so i'm using utf-8 on my site. therefore i need to convert. i have been trying to get the function provided to do this for me, but with no luck:

my code:
$sJapanese=mb_convert_encoding($sJapanese,"'UTF-8","JIS");

response:
Warning: mb_convert_encoding(): Unknown encoding "'UTF-8" [...]


any idea why this is happening or what to do about it?