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

>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:
$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:

Table of Contents

 About This Book

 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

 handling unicode characters in jsp

 A Tutorial for New Axis2 Users

 Dovecot SSL Warning (Not Error)

 Conexiones permanentes


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