Chinese language on a web site
Posted: Fri Mar 03, 2006 3:10 pm
Dear members,
For a client of mine I need to introduce Chinese language support in a web portal. This web portal, written in PHP + MySQL is already available in a number of European languages (English, Spanish, German...). However my client needs this portal to be available in Chinese as well. Content will be translated using a a simple HTML form. The translated versions of blocks of text are stored into the MySQL database.
I already know that Chinese people either use Pinyin (romanized Chinese), or Wubi to write in their language using a normal European alphabet keyboard. I also know that Unicode (UTF8) is widely used to properly display Chinese characters on web pages, emails, etc.
So the procedure is Pinyin - Unicode - Chinese characters. The missing link for me still is the step between Pinyin and Unicode.
¿Are there any PHP scripts available which transform Pinyin into correct Unicode codes for Chinese characters?
ANy help will be very much appreciated.
Best regards
For a client of mine I need to introduce Chinese language support in a web portal. This web portal, written in PHP + MySQL is already available in a number of European languages (English, Spanish, German...). However my client needs this portal to be available in Chinese as well. Content will be translated using a a simple HTML form. The translated versions of blocks of text are stored into the MySQL database.
I already know that Chinese people either use Pinyin (romanized Chinese), or Wubi to write in their language using a normal European alphabet keyboard. I also know that Unicode (UTF8) is widely used to properly display Chinese characters on web pages, emails, etc.
So the procedure is Pinyin - Unicode - Chinese characters. The missing link for me still is the step between Pinyin and Unicode.
ANy help will be very much appreciated.
Best regards