I tried to use the encode_utf8() and it doesn't complaint in that . However, this corrupts the characters on the UI and they're not korean anymore and when I try to decode_utf8(encode_utf8($mystring)) it complaints that it can't write wide character again.