Displaying in different language

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
dakkonz
Forum Commoner
Posts: 69
Joined: Sat Dec 27, 2003 2:55 am
Location: Asia

Displaying in different language

Post by dakkonz »

Hi all,
I want to be able to store and retrieve other languages using PHP and MYSQL. I tried to enter a chinese character in my form and i get rubbish when i view what is stored in the database. What settings must i change to be able to store chinese characters??

Thanks and Regards
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Post by s.dot »

do you have the chinese language pack installed?
php_wiz_kid
Forum Contributor
Posts: 181
Joined: Tue Jun 24, 2003 7:33 pm

Post by php_wiz_kid »

Using PHPMyAdmin gives you the option of other languages. I'm not sure how to do it through command line though.
dakkonz
Forum Commoner
Posts: 69
Joined: Sat Dec 27, 2003 2:55 am
Location: Asia

Post by dakkonz »

Sorry for the late reply.
I am using PHPMyAdmin. but can i add an existing field that accepts chinese character into my user table?
My database table is all set up. Now i want it to store chinese characters when the user inputs chinese characters. Can advise what to do?
Do i have to create another table to accept chinese characters?
Thanks
Post Reply