Re: Code for pinyin's tone markers



Richard Wordingham wrote:
jlzhang wrote:
Hello,

I need to present the four tone markers of the Chinese pinyin in a web
page. They must apear independently, that is, each in a letter space
by itself, but not above any letter.

Does anyone know the unicode or entity references for these symbols?
Thanks a lot.

If you can't just pinch the characters from the Wiki article, the
answers are as follows:

Macron: (a) U+00AF 175 (decimal) macr
(b) U+02C9 713 (decimal)
Acute: (a) U+00B4 180 (decimal) acute
(b) U+02CA 714 (decimal)
Caron: U+02C7 711 (decimal)
Grave: (a) U+0060 96 (decimal)
(b) U+02CB 715 (decimal)

There is a small risk of options (a) being interpreted as combining
marks (I've never seen it happen). There is a much more severe risk of
options (b) not being in the reader's fonts.

If you're using XML, you can of course define your own entities.

You may care to bookmark http://www.unicode.org . The list of non-CJK
characters, as plain text, is
http://www.unicode.org/Public/UNIDATA/UnicodeData.txt (944k).

Richard.

My sincere thanks to both Dyl. and Richard for your expertise.

jlzhang

.