0

Hello,

Does anyone has experienced storing chinesse character in php xampp. I have an elearning project for mandarine course and I unable to store chinesse character in php xampp.

I have found an opensource test maker and looks like I have modify it a little bit so that it could store chinesse character in php xampp also at the same time it should be able to print out to web browser.

Thanks before,
Davy

2
Contributors
1
Reply
7
Views
3 Years
Discussion Span
Last Post by diafol
0

Are you talking about storing it in a DB and then retrieving it or just displaying it straight from php/html source?

Your DB profile:

charset: utf8mb4, collation: utf8mb4_unicode_ci

Your page setup:

header("Content-Type: text/html; charset=utf-8");

Put this close to the top of your page so that it is run before any read/write of php/mysql.

<meta charset="utf-8">

Can still be used in the <head> area.

I think that will work. You haven't included any code, so we can't comment on where you're going wrong. Help us to help you.

http://www.daniweb.com/web-development/php/threads/435023/read-this-before-posting-a-question

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.