Problem with specific kanji

"Muhammad Rofiq" <[email protected]>
Newsgroups gmane.comp.php.internationalization
Message-ID <[email protected]>
Hi,

I have trouble here :((

I found one kanji that can not be translated to EUC-JP <-> SJIS-WIN

 or FA B1 (in hex)

my method is simply using this line

$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");

now the value of $original is "?", question mark.

btw my search module giving me the right result when above kanji entered, it
just that question mark display on browser really ruin my day.

I don't use internal euc-jp processing setting, i just using mb_string
conversion functions. This method so far giving me good results.

regards,


-- 
PHP Internationalization Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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.