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:
http://www.herongyang.com/php/non_ascii_mysql_2.html
http://drupal.org/node/40515

Table of Contents

 About This Book

 Reference Citations in 2017

 Reference Citations in 2016

 Reference Citations in 2015

 Reference Citations in 2014

 Reference Citations in 2013

 Reference Citations in 2012

 Reference Citations in 2011

 Reference Citations in 2010

 Reference Citations in 2009

 Reference Citations in 2008

 Reference Citations in 2007

Reference Citations in 2006

 help with SOAP

 while.....do

 handling unicode characters in jsp

 A Tutorial for New Axis2 Users

 Dovecot SSL Warning (Not Error)

 Conexiones permanentes

 ADAMSync

Character set problem

 Rpc::xml, examples and docs "for Dummies"

 UTF-8 Support

 Conversion of Single and Double in Binary

 arqHP:: XHTML ou HTML

 Looking for JS Code for Chinese Calendar

 Reference Citations in 2005

 Reference Citations in 2004

 Reference Citations in 2003

 PDF Printing Version