note 93830 deleted from function.mysql-client-encoding by danbrown

From: 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 &#322; , when somene wrote ż instead of &#380; 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 !!

« previous php.notes (#161225) next »