Test charts for tonal pinyin in Unicode Web pages.

Lower-case shifting diacritics

Although IE handles everything well, the tones over i's and ü's get placed in the wrong positions in Opera 6.0 and Mozilla 1.0. So for those particular characters it's necessary to use other coding.

  first second third fourth

 

character

code

character

code

character

code

character

code

a

ā

á

ǎ

à

e

ē

é

ě

è

i

ī

í

ǐ

ì

o

ō

ó

ǒ

ò

u

ū

ú

ǔ

ù

ü

ǖ

ǖ

ǘ

ǘ

ǚ

ǚ

ǜ

ǜ

Upper-case shifting diacritics

Again, IE gets everything right, but Opera and Mozilla don't. The latter browsers don't place the tone marks above the letters, resulting in a mess for all of the characters. None of these can be relied upon, given the current state of browser support.

  first second third fourth

 

character

code

character

code

character

code

character

code

a

Ā

Á

Ǎ

À

e

Ē

É

Ě

È

i

Ī

Í

Ǐ

Ì

o

Ō

Ó

Ǒ

Ò

u

Ū

Ú

Ǔ

Ù

ü

Ǖ

Ǖ

Ǘ

Ǘ

Ǚ

Ǚ

Ǜ

Ǜ

Lower-case individually numbered entities

IE, Mozilla, and Opera get all of these correct. Even NN4.7 does fairly well. So use these i's and ü's in place of the shifting diacritics.

  first second third fourth

 

character

code

character

code

character

code

character

code

a

ā

ā

á

á

ǎ

ǎ

à

à

e

ē

ē

é

é

ĕ

ĕ

è

è

i

ī

ī

í

í

ǐ

ǐ

ì

ì

o

ō

ō

ó

ó

ǒ

ǒ

ò

ò

u

ū

ū

ú

ú

ǔ

ǔ

ù

ù

u:

ǖ

ǖ

ǘ

ǘ

ǚ

ǚ

ǜ

ǜ

Upper-case individually numbered entities

Browser support is good here. Since no pinyin syllables begin with i, u, or ü, we can ignore those letters. But we'll need to use the others.

  first second third fourth

 

character

code

character

code

character

code

character

code

a

Ā

Ā

Á

Á

Ǎ

Ǎ

À

À

e

Ē

Ē

É

É

Ě

Ě

È

È

i

Ī

Ī

Í

Í

Ǐ

Ǐ

Ì

Ì

o

Ō

Ō

Ó

Ó

Ǒ

Ǒ

Ò

Ò

u

Ū

Ū

Ú

Ú

Ǔ

Ǔ

Ù

Ù

ü

Ǖ

Ǖ

Ǘ

Ǘ

Ǚ

Ǚ

Ǜ

Ǜ

Lower-case named entitites

For the sake of completion, here are the encoding names for second-tone and fourth-tone vowels.

  first second third fourth

 

character

code

character

code

character

code

character

code

a

n/a

n/a

á

á

n/a

n/a

à

à

e

n/a

n/a

é

é

n/a

n/a

è

è

i

n/a

n/a

í

í

n/a

n/a

ì

ì

o

n/a

n/a

ó

ó

n/a

n/a

ò

ò

u

n/a

n/a

ú

ú

n/a

n/a

ù

ù

ü

n/a

n/a

n/a

n/a

n/a

n/a

n/a

n/a

Upper-case named entities

  first second third fourth

 

character

code

character

code

character

code

character

code

a

n/a

n/a

Á

Á

n/a

n/a

À

À

e

n/a

n/a

É

É

n/a

n/a

È

È

i

n/a

n/a

Í

Í

n/a

n/a

Ì

Ì

o

n/a

n/a

Ó

Ó

n/a

n/a

Ò

Ò

u

n/a

n/a

Ú

Ú

n/a

n/a

Ù

Ù

ü

n/a

n/a

n/a

n/a

n/a

n/a

n/a

n/a