[ask] convert unknown Korean's string to readable string

[email protected] (Morning Star)
Newsgroups php.general
Message-ID <CAD9kJ0PpW7smYsR=Mee0rCFxeV+eNc4TvfLMGHWGOeKoe8kSGg@mail.gmail.com>
Hi guys,

i have a string like this:
$string = \uc548\ub155\ud558\uc138\uc694
(Korean words that say "hello world" in English).
i got no luck when I tried with
Korean. 'UCS-2BE' to 'UTF-8' encoding conversion didn't work. i also
tried with ISO-2022-KR and EUC-KR to 'UTF-8' , but no luck either.
It should be 안녕하세요!

How can I convert that $string to Korean's character?




my regards,

Marco
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.