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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: inetwolf at 263 dot net
New email:
PHP Version: OS:

 

 [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: Sat Apr 20 06:01:28 2024 UTC