Re: [PHP] Chinese words on a PHP web page

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You could do it using the &1234; type codes, or copy it directly from another source, like a character map program.

Bear in mind that if you do the latter, you'll need to output a utf 8 meta tag with the html output too.

Thanks,
Ash
http://www.ashleysheridan.co.uk

----- Reply message -----
From: "Ernie Kemp" <ernie.kemp@xxxxxxxxxxxx>
Date: Thu, Nov 4, 2010 16:52
Subject: [PHP] Chinese words on a PHP web page
To: "'PHP General List'" <php-general@xxxxxxxxxxxxx>

 

Iâm writing a program that allows the user to click the flag and the test will change to that language and display.

 

Iâm trying to convert from English  to Chinese using characters such as â ÃÂâÃÂÅâ The browser interprets these into, in this case, Japanese but my code needs to display in Chinese.

 

The internet is giving all kinds of code to convert from English into the Chinese language.

 

I need to put in Unicode characters that the browser will make the final change into Chinese words.  Iâm using define("CHARSET","UTF-8");

 

So the question is how does one enter Chinese Unicode??

 

 

Thanks,

..../Ernie

 


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux