From: muratyilmaz2947 at gmail dot com Operating system: windows xp PHP version: 5.1.2 PHP Bug Type: Output Control Bug description: turkish charset
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 bug report at http://bugs.php.net/?id=37090&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37090&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=37090&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37090&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=37090&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=37090&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=37090&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=37090&r=needscript Try newer version: http://bugs.php.net/fix.php?id=37090&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=37090&r=support Expected behavior: http://bugs.php.net/fix.php?id=37090&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=37090&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=37090&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=37090&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37090&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=37090&r=dst IIS Stability: http://bugs.php.net/fix.php?id=37090&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=37090&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=37090&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=37090&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=37090&r=mysqlcfg