Moriyoshi Koizumi wrote:

Partially yes.


Strings encoded in GB2312(CP936), big5, Shift_JIS are known to be clobbered by addslashes().

Sh*t ... and I just added a whole bunch of addslashes() to my code to prevent SQL attacks. And of course my web pages are for Japanese ... and most of them will be using SJIS.


If I have internal_encoding set to EUC-JP does that mean that all POST or GET vars passed in will be translated to EUC-Jp and hence my addslahes will be fine?

I sure hope so ...

Jc


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



Reply via email to