How to set charset to work with pear packages correctly?

[email protected] (Olga Zhuravleva)
Newsgroups php.pear.webmaster
Message-ID <[email protected]>
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'");
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.