#23267 [NEW]: mysql select bug with accentuated letters

From: Date: Fri, 18 Apr 2003 09:45:10 +0000
Subject: #23267 [NEW]: mysql select bug with accentuated letters
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-37840@lists.php.net to get a copy of this message
From: lysander at faker dot hu Operating system: Win XP prof PHP version: 4.3.1 PHP Bug Type: MySQL related Bug description: mysql select bug with accentuated letters My problem is the next: if I use mysql_query("SELECT pass FROM regusers WHERE user='gáb'") it converts down somehow my accentuated a letter. á -> a and gives back the result of the row where the username is "gab" istead of "gáb" (a row with user gáb does not exists) phpmyadmin does the same "mistake", of course. in a mysql client it works fine. mysql> select pass from regusers where user='gáb'; Empty set (0.07 sec) I've tried this at debian linux too, with other versions, it does exactly the same. what is the problem then? I hope not a bug, that would be better if I made a mistake. Please check me back as soon as possible. Lysander -- Edit bug report at http://bugs.php.net/?id=23267&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=23267&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=23267&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=23267&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=23267&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=23267&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=23267&r=support Expected behavior: http://bugs.php.net/fix.php?id=23267&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=23267&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=23267&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=23267&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23267&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=23267&r=dst IIS Stability: http://bugs.php.net/fix.php?id=23267&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=23267&r=gnused

« previous php.bugs (#37840) next »