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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-08-08 10:36 UTC] ochronus at gmail dot com
My bad.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 02 11:01:36 2025 UTC