#31294 [Opn->Asn]: Wrong charset
| From: | sniper@php.net | Date: | Sun, 20 Mar 2005 22:12:35 +0000 |
| Subject: | #31294 [Opn->Asn]: Wrong charset | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-75629@lists.php.net to get a copy of this message | ||
ID: 31294
Updated by: sniper@php.net
Reported By: megabrain at fight-club dot ru
-Status: Open
+Status: Assigned
Bug Type: MySQL related
Operating System: Windows 2003
PHP Version: 5.0.3
-Assigned To:
+Assigned To: edink
New Comment:
Edin: did you by any chance change the settings/version for the mysql
client libs between 5.0.2 and 5.0.3 ?
Previous Comments:
------------------------------------------------------------------------
[2005-03-14 06:19:10] megabrain at fight-club dot ru
Same problem with CVS build
------------------------------------------------------------------------
[2005-02-28 21:13:42] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
------------------------------------------------------------------------
[2004-12-28 11:01:21] megabrain at fight-club dot ru
example:
php 5.0.2
$result=mysql_query("select ru_name from mtable");
$runame=mysql_result($result,0,"ru_name");
print $runame;
output: òåñò
php 5.0.3
$result=mysql_query("select ru_name from mtable");
$runame=mysql_result($result,0,"ru_name");
print $runame;
output: ????
database is UTF8
------------------------------------------------------------------------
[2004-12-25 14:48:23] megabrain at fight-club dot ru
Description:
------------
I dont know wy it happens..
Trivia:
MySQL 4.1.8
Base with CP1251 support
PHP 5.0.3
Loaded mysql (not mysqli) extensions..
Any queries to base returns "?" where russian chars in base..
version 5.0.2 dont have this problems
But under Apache2 with php loaded as module no problems too..
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=31294&edit=1