|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-04-15 11:36 UTC] muratyilmaz2947 at gmail dot com
[2006-04-15 12:49 UTC] derick@php.net
[2006-04-15 15:57 UTC] muratyilmaz2947 at gmail dot com
[2006-07-30 11:06 UTC] georg@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 29 16:00:02 2025 UTC |
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