#42241 [Opn->Csd]: mysql_real_escape string handles some UTF-8 characters incorrectly
| From: | ochronus at gmail dot com | Date: | Wed, 08 Aug 2007 10:36:57 +0000 |
| Subject: | #42241 [Opn->Csd]: mysql_real_escape string handles some UTF-8 characters incorrectly | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-115875@lists.php.net to get a copy of this message | ||
ID: 42241
User updated by: ochronus at gmail dot com
Reported By: ochronus at gmail dot com
-Status: Open
+Status: Closed
Bug Type: MySQL related
Operating System: Linux 2.6.15
PHP Version: 5.2.4RC1
New Comment:
My bad.
Previous Comments:
------------------------------------------------------------------------
[2007-08-08 08:41:59] 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.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=42241&edit=1