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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
25 + 17 = ?
Subscribe to this entry?

 
 [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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 00:01:41 2024 UTC