PHP 4.0 Bug #5341: PHP can't work fine with chinese string in the query, both insert and select.
| From: | inetwolf at 263 dot net | Date: | Mon, 03 Jul 2000 12:19:27 +0000 |
| Subject: | PHP 4.0 Bug #5341: PHP can't work fine with chinese string in the query, both insert and select. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-23211@lists.php.net to get a copy of this message | ||
From: inetwolf@263.net
Operating system: Solaris 2.6
PHP version: 4.0.1
PHP Bug Type: Oracle related
Bug description: PHP can't work fine with chinese string in the query, both insert and select.
Version Affected : both 3.0.16 & 4.0.1
Oracle version : 8.1.5
OS : Solaris 2.6
WEB server : NES 3.6
NLS_LANG=ZHS16CGB231280
PHP can't work fine with chinese string in the query, both insert and select.It seems that PHP
trunck the 8bit chinese text string to 7bit ascii text.The cgi program set the NLS_LANG parametre
the sam as db server.
But sqlplus work well.