note 93830 deleted from function.mysql-client-encoding by danbrown
| From: | danbrown@php.net | Date: | Fri, 02 Oct 2009 17:04:44 +0000 |
| Subject: | note 93830 deleted from function.mysql-client-encoding by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-161225@lists.php.net to get a copy of this message | ||
Note Submitter: Karol
----
Thank you msieniek !!
I had the same problem with polish letters, when someone entered Å, ³ ended up in mysql
instead of ł , when somene wrote ż instead of ż mysql had ¿ ...
Placing this in my connect function fixes the problem.
<?
mysql_query("SET CHARACTER SET latin2");
mysql_query("SET NAMES latin2");
?>
Once again dziÄkuje !!