| Gleb Paharenko 2006-01-26, 4:56 pm |
| Hello.
> collation. PHP 4.4 doesn't provide API to work with
> Connection Character Sets and Collations. PHP 5 adds
You can change the character_set_xxx variables using SQL
queries. I usually put 'SET NAMES' at the beginning of my
scripts.
立 周 wrote:
> --- Gleb Paharenko <Gleb.Paharenko@ensita.net>写道:
>
>
>
>
> I think the problem is: the server is running mysqld
> with latin chracter set and latin_swidish_ci collation
> ( the default ). But my database is utf8 encoded (
> mainly Simplified Chinese ) with utf8_general_ci
> collation. PHP 4.4 doesn't provide API to work with
> Connection Character Sets and Collations. PHP 5 adds
> this and you can also compile PHP 4.4 with mysqli (
> MySQL Improved ) extension to bring this API to PHP
> 4.4. But on a shared hosting plan, i obviously have
> no access to any of these solutions.
>
> Lionel
>
>
>
>
>
>
>
> ____________________
____________________
___________________
> 雅虎1G免费邮箱百分百
防垃圾信
> http://cn.mail.yahoo.com/
--
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.NET http://www.ensita.net/
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Gleb Paharenko
/ /|_/ / // /\ \/ /_/ / /__ Gleb.Paharenko@stripped
/_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.NET
<___/ www.mysql.com
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql? unsub...sie.nctu.edu.tw
|