#37090 [Opn->Asn]: turkish charset
| From: | derick@php.net | Date: | Sat, 15 Apr 2006 12:49:17 +0000 |
| Subject: | #37090 [Opn->Asn]: turkish charset | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-95823@lists.php.net to get a copy of this message | ||
ID: 37090
Updated by: derick@php.net
Reported By: muratyilmaz2947 at gmail dot com
-Status: Open
+Status: Assigned
Bug Type: Output Control
Operating System: windows xp
PHP Version: 5.1.2
-Assigned To:
+Assigned To: georg
New Comment:
Georg, it seems his MySQL simply doesn't understand latin5 but
shouldn't the function return false then?
Previous Comments:
------------------------------------------------------------------------
[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:31:16] tony2001@php.net
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.
------------------------------------------------------------------------
[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