php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5341 PHP can't work fine with chinese string in the query, both insert and select.
Submitted: 2000-07-03 14:19 UTC Modified: 2000-07-09 13:10 UTC
From: inetwolf at 263 dot net Assigned:
Status: Closed Package: Oracle related
PHP Version: 4.0.1 OS: Solaris 2.6
Private report: No CVE-ID: None
 [2000-07-03 14:19 UTC] inetwolf at 263 dot net
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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-09 13:10 UTC] thies at cvs dot php dot net
closed on behalf of reporting user
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Fri Feb 26 18:01:25 2021 UTC