Posting Chinese Characters on the Web
Putting Chinese characters on a website is only slightly more complex than posting bullets or copyright symbols. Here, I’ll try to give you a very brief tutorial of both, including some screenshots.
To post a Unicode-based character on a website, try the following two steps:
1. Find the integer number that represents the character you are interested in. There are many great sites out there that show Unicode tables (here’s just one example). In this case, let’s say you want to display the Greek letter pi. According to the look-up table, its integer representation is 960.
2. Type INTEGER where INTEGER is the number that represents the character. So, in this case, we can produce the Greek letter, pi, like so: π.
To post a Chinese character on a website, try these steps:
1. Find the integer number that represents the character you are interested in. Without getting into the details of UTF8 just yet, you’ll find that it takes a very large integer to display Chinese characters. So, instead of using the normal base-10 counting system, these look-up tables will usually be base-16, or hexidecimal. This website has been a great source for looking up the hexidecimal Unicode for Chinese characters that I have been interested in. Let’s say you want the character for “beautiful”. In this website, you could either type in “beautiful” or its Pinyin form (more on Pinyin later), which is “mei”. So, we learn that the Unicode hexidecimal code for “beautiful” is 7F8E.
2. Now, you must convert the hexidecimal code to integer code. For those of us who are Macintosh users, this is pretty easy.
2a. Bring up the basic calculator loaded with every Macintosh. You can do this by typing “calculator” within Spotlight.
2b. Put calculator in “Programmer” mode using the “View” menu (hey, you’re a programmer!
).

2c. Put calculator in “Hex” mode by clicking the “Hex” button.

2d. For fun, put calculator in “Unicode” mode by clicking the “Unicode” button. This allows you to see the character representation of what your’e typing. It’s a good sanity check.

2e. Type in your code - 7F8E. You should see the Chinese character for beautiful displayed on the far left.

2f. Click the “Dec” button to convert this hexidecimal code to Decimal (integer). The calculator should report 32654.

3. Now that you have converted the Chinese character to integer, you are ready to put it on the web. Just type INTEGER where INTEGER is 32654, like this: 美.
There are other ways to figure out the hexidecimal representation of Chinese characters using your Macintosh. Since this post is getting really lengthy, I’ll save it for another day. I hope this helps, and please let me know if you have any questions.
– bk
PS If you’re interested in more technical details about Unicode, UTF8, and other discussions, check out this Wiki.
