This doesn’t work properly:
mb_convert_encoding($japtext, “UTF-8″, “EUC-JP”)
Instead you have to do this:
mb_convert_encoding(mb_convert_encoding($japtext,”sjis-win”,”EUC-JP”),”UTF-8″,”sjis-win”)
Strange but true. If you have any better solution, tell me.
Source:
http://www.asp-edita.jp/doda/one/doda5728_15.html
Advertisement