Bug #15683 Updated: "addslashes" mis-recognises chinese-big5 words with "0xXX 0x5C"

From: Date: Sun, 07 Jul 2002 17:17:23 +0000
Subject: Bug #15683 Updated: "addslashes" mis-recognises chinese-big5 words with "0xXX 0x5C"
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-13408@lists.php.net to get a copy of this message
ID: 15683 Updated by: derick@php.net Reported By: leochang@blissfountain.com Status: Open -Bug Type: Strings related +Bug Type: Feature/Change Request Operating System: ALL PHP Version: 4.1.1 New Comment: A feature request for the mbstring extension. Derick Previous Comments: ------------------------------------------------------------------------ [2002-02-23 02:38:19] wandering@cyberdude.com magic-quote is another function that creates the problem.... Addslashes is a php function that adds a slash in front of ' (single quotes), " (double-quotes), and \ (back slashes) which makes Traditional Chinese words display improperly when parsing the string. They thought the chinese word to be quoted or something like that... ------------------------------------------------------------------------ [2002-02-23 02:21:21] leochang@blissfountain.com "addslashes" and others always mis-recognise and display chinese big5-code words with the character "0xXX 0x5C" by adding slashes into the words.... which makes Traditional Chinese words can never be displayed properly within php... it's very inconvenient for all traditional Chinese users Can anyone help? Someone suggests adding codes of procedure for identifying whether the words are in chinese-big-5 code or not before addslashes and other work... If that is a practical method, could someone make this "patch" for us chinese linux php users? If that's not too complicated even for php-developers, could you guys please consider this in your future versions???? Please help!!!!! ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=15683&edit=1

« previous php.bugs (#13408) next »