Store Chinse character in Mysql
Moderator: General Moderators
-
keenlearner
- Forum Commoner
- Posts: 50
- Joined: Sun Dec 03, 2006 7:19 am
Store Chinse character in Mysql
My site is 90% english, however there are some pages that i need to display in chinese character. In fact, arabic, russia, spanish. In mysql, i try to use collation utf8_general_ci . So when i input the data using phpmyadmin, i type chinese character e.g 福(lucky) into the record, save it. Unfortunately when i use php to get the data from mysql database and present it on the web, it appear as '?' (question mark). How do i show it on the web correctly ? Thank you.
- Kieran Huggins
- DevNet Master
- Posts: 3635
- Joined: Wed Dec 06, 2006 4:14 pm
- Location: Toronto, Canada
- Contact:
-
keenlearner
- Forum Commoner
- Posts: 50
- Joined: Sun Dec 03, 2006 7:19 am