ID: 37090
User updated by: muratyilmaz2947 at gmail dot com
Reported By: muratyilmaz2947 at gmail dot com
Status: Assigned
Bug Type: MySQLi related
Operating System: windows xp
PHP Version: 5.1.2
Assigned To: georg
New Comment:
what can ý do to repair this function or code. it seems working but ýt
doesnt. i downloaded libmysql.dll and php_mysqli.dll version 5.0.18
and copied.
Previous Comments:
------------------------------------------------------------------------
[2006-04-15 12:49:17] [EMAIL PROTECTED]
Georg, it seems his MySQL simply doesn't understand latin5 but
shouldn't the function return false then?
------------------------------------------------------------------------
[2006-04-15 11:36:41] muratyilmaz2947 at gmail dot com
ok. but there is a problem in this functions. latin5<>latin1. i hope
you could understand.
------------------------------------------------------------------------
[2006-04-15 11:23:46] muratyilmaz2947 at gmail dot com
Description:
------------
i want to change charset with these code. but there is problem. and i
want to record some information to table (in turkish language). but all
turkish charset are ??. i dont know why?
Reproduce code:
---------------
if (!$mysqli->set_charset("latin5")) {
printf("Error loading character set latin5: %s\n", $mysqli->error);
} else {
printf("Current character set: %s\n",
$mysqli->character_set_name());
/* Print current character set */
$charset = $mysqli->character_set_name();
printf ("Current character set is %s\n", $charset);
Expected result:
----------------
Current character set: latin5
Current character set latin5
Actual result:
--------------
Current character set: latin5
Current character set latin1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37090&edit=1