#31294 [Asn->Bgs]: Wrong charset
ID: 31294
Updated by: sniper@php.net
Reported By: megabrain at fight-club dot ru
-Status: Assigned
+Status: Bogus
Bug Type: MySQL related
Operating System: Windows 2003
PHP Version: 5.0.3
Assigned To: edink
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
This is not a bug in PHP, you just need to fix your configuration.
Previous Comments:
------------------------------------------------------------------------
[2005-03-20 23:12:34] sniper@php.net
Edin: did you by any chance change the settings/version for the mysql
client libs between 5.0.2 and 5.0.3 ?
------------------------------------------------------------------------
[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
Thread (8 messages)