Reference Citations - HerongYang.com - v2.92, by Dr. Herong Yang
Character set problem
'Managing Non-ASCII Character Strings with MySQL Servers' tutorial was cited in a Zend forum post in 2006.
The Managing Non-ASCII Character Strings with MySQL Servers tutorial was cited in a Zend forum post in 2006.
Subject: Character set problem Date: Aug 23, 2006 Author: vpiotr Source: http://www.zend.com/en/forums/index.php?t=msg&th=1673 &S=ba799198297c6c5b31d2d75849c3fd96 >How can i make my mysql output character display Simplified Chinese? >And alse image and pdf document? >What should I do? ... Probably you have somewhere an encoding problem. There are tree places you can verify your configuration: - html - php - mysql For HTML - see meta tag mentioned before by others. For PHP - try to verify what is your currently selected encoding - see below: <?php $link = mysql_connect('localhost', 'mysql_user', 'mysql_password'); $charset = mysql_client_encoding($link); printf ("current character set is %s\n", $charset); ?> For MySQL you have two options: 1) session encoding (SET CHARACTER SET x) See pages below for more info: https://www.herongyang.com/php/non_ascii_mysql_2.html http://drupal.org/node/40515
Table of Contents