2003年11月19日(水)の19時27分に 
Jean-Christian IMbeault 曰く:
> 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'] = [EMAIL PROTECTED](B
> 
> 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?

There are other characters in SJIS that cause similar problems too.
Setting EUC as the internal encoding should fix it. 

> 
> Thanks,
> 
> Jean-Christian Imbeault
-- 
-dave

-- 
PHP Internationalization Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to