How to set charset to work with pear packages correctly?
| From: | Olga Zhuravleva | Date: | Tue, 10 Nov 2009 05:53:26 +0000 |
| Subject: | How to set charset to work with pear packages correctly? | ||
| Groups: | php.pear.webmaster | ||
| Request: | Send a blank email to pear-webmaster+get-6648@lists.php.net to get a copy of this message | ||
Hi, sorry to trouble you, but I can't find solution my problem.
My base and tables in - utf8_unicode_ci, data language - russian.
I got data from base like ????????
How to set charset?
Something like: mysql_query("SET NAMES utf8");
or
mysql_query("set character_set_client ='utf8'");
mysql_query("set character_set_results ='utf8'");
mysql_query("set collation_connection ='utf8_unicode_ci'");