php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #42241 mysql_real_escape string handles some UTF-8 characters incorrectly
Submitted: 2007-08-08 08:41 UTC Modified: 2007-08-08 10:36 UTC
From: ochronus at gmail dot com Assigned:
Status: Closed Package: MySQL related
PHP Version: 5.2.4RC1 OS: Linux 2.6.15
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ochronus at gmail dot com
New email:
PHP Version: OS:

 

 [2007-08-08 08:41 UTC] ochronus at gmail dot com
Description:
------------
string before mysql_real_escape (in UTF-8)
?umiv? instantn? manik?ra (Instant Manicure) 8x 10 g
string after mysql_real_escape
▒ umiv? instantn? manik?ra (Instant Manicure) 8x 10 g

the mysql connection is set to be UTF-8 correctly. Many other UTF-8 escapes work correctly.





Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-08-08 10:36 UTC] ochronus at gmail dot com
My bad.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 30 08:01:30 2024 UTC