Re: Problem with specific kanji
| From: | Muhammad Rofiq | Date: | Mon, 12 May 2003 01:43:18 +0000 |
| Subject: | Re: Problem with specific kanji | ||
| References: | 1 2 | Groups: | php.i18n |
| Request: | Send a blank email to php-i18n+get-561@lists.php.net to get a copy of this message | ||
"Moriyoshi Koizumi" <moriyoshi@at.wakwak.com> wrote in message
news:20030509222519YPfmB&@at.wakwak.com...
> "Muhammad Rofiq" <rofiq@maltech.ne.jp> wrote:
>
> > $result = mb_convert_encoding($value, "EUC-JP", "SJIS-WIN");
> >
> > and when I revert back to SJIS-WIN using
> >
> > $original = mb_convert_encoding($result, "EUC-JP", "SJIS-WIN");
>
> Should this be
>
> $original = mb_convert_encoding($result, "SJIS-WIN", "EUC-JP");
>
> since it's reverse conversion?
ups, sorry, i mean that way, i forget to switch it while doing copy-n-paste
here.
BTW I did switching it in my PHP program, and still moji-bake appears with
kanji I mentioned before.
>
> Moriyoshi
>