Jean-Christian Imbeault <[EMAIL PROTECTED]> wrote:

> Is addslashes() multi-byte safe?
> 
> I will bu sing it to escape multi-byte input and wouldn't want it to 
> mangle anything...

Partially yes.

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

UTF-8, EUC-JP, EUC-KR, EUC-CN and EUC-TW are not affected.

Moriyoshi


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

Reply via email to