Japanese katakana "SO" in SJIS gives problems.

Jean-Christian IMbeault <[email protected]>
Newsgroups gmane.comp.php.internationalization
Message-ID <[email protected]>
I'm having trouble with POST form data being passed to me in Japanese.
The incoming data is in SJIS and if someone enters the japanese katakana
"SO" it somehow ends up being turned up in to "SO\".

Here is an example:

User enters ""

PHP says the POST values is:

POST['name'] = \

Where did that last character come from? This is a big problem for me if
 people enter words in katakana containing the character "SO". For
example "software" gets an extra backslash inserted after the so ...

Does anyone have a safe solution to this problem?

Thanks,

Jean-Christian Imbeault


-- 
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.