Convert Chinese characters to Unicode UTF-8 September 15 2005
I have been recently given the task to create a website that is the Chinese equivalent to an english one. The translator provided me with a Word document containing the Chinese however tools such as dreamweaver and X-Emacs don’t seem to be able to allow for the translated text to be copied from the clipboard into HTML files. This is probably due to the fact that something gets lost in the clipboard goo.
I have decided to translate the Chinese characters directly into Unicode UTF-8 for inclusion into the website. Conversion can be obtained via UTF-8 conversion tools. The best on I found was the Convert Chinese Characters to Unicode Tool at the PinYin website.
Make sure you append an appropriate UTF-8 header to your HTML docuement such as :
<?xml version=”1.0″ encoding=”iso-8859-1″?>
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml” xml:lang=”en” lang=”en”>
…
- Posted in : General
- Author : site admin

Comments
Sorry comments are closed for this entry