-sub printcell_unicode {
- my ($value) = @_;
- if ($value > 0x1FF) {
- print "\n".'<td class="X">?';
- }
- elsif ($value == 0) {
- print '<td colspan="2" class="X Cc">control';
- }
- elsif ($value == 2) {
- print '<td colspan="6" class="X Ll Latin">latin';
- }
- elsif ($value == 8) {
- print '<td colspan="2" class="X Cc">control';
- }
- elsif ($value == 10) {
- print '<td colspan="6" class="X Ll Latin">latin supplement';
- }
- elsif ($value == 0x10) {
- print '<td colspan="8" class="X Ll Latin">latin ext-A';
- }
- elsif ($value == 0x18) {
- print '<td colspan="8" class="X Ll Latin">latin ext-B';
- }
- elsif ($value == 0x20) {
- print '<td colspan="5" class="X Ll Latin">latin ext-B';
- }
- elsif ($value == 0x25) {
- print '<td colspan="6" class="X Ll Latin">IPA';
- }
- elsif ($value == 0x2B) {
- print '<td colspan="5" class="X Sk">spacing modifier';
- }
- elsif ($value == 0x30) {
- print '<td colspan="8" class="X Mn">diacritics';
- }
- elsif ($value == 0x38) {
- print '<td colspan="8" class="X Ll Greek">greek';
- }
- elsif ($value == 0x40) {
- print '<td colspan="16" class="X Ll Cyrillic">cyrillic';
- }
- elsif ($value == 0x50) {
- print '<td colspan="3" class="X Ll Cyrillic">cyrillic+';
- }
- elsif ($value == 0x53) {
- print '<td colspan="5" class="X Ll Armenian">armenian';
- }
- elsif ($value == 0x58) {
- print '<td colspan="8" class="X Ll Hebrew">hebrew';
- }
- elsif ($value == 0x60) {
- print '<td colspan="16" class="X Ll Arabic">arabic';
- }
- elsif ($value == 0x70) {
- print '<td colspan="5" class="X Ll Aramaic">syriac';
- }
- elsif ($value == 0x75) {
- print '<td colspan="3" class="X Ll Arabic">arabic+';
- }
- elsif ($value == 0x78) {
- print '<td colspan="4" class="X Ll African">thaana';
- }
- elsif ($value == 0x7C) {
- print '<td colspan="4" class="X Ll African">nko';
- }
- elsif ($value == 0x80) {
- print '<td colspan="4" class="X di-rare">samaritan';
- }
- elsif ($value == 0x84) {
- print '<td colspan="2" class="X di-rare Ll Aramaic">manda';
- }
- elsif ($value == 0x86) {
- print '<td colspan="12" class="di-invalid">reserved';
- }
- elsif ($value == 0x90) {
- print '<td colspan="8" class="X Ll Brahmic">devanagari';
- }
- elsif ($value == 0x98) {
- print '<td colspan="8" class="X Ll Brahmic">bengali';
- }
- elsif ($value == 0xA0) {
- print '<td colspan="8" class="X Ll Brahmic">gurmukhi';
- }
- elsif ($value == 0xA8) {
- print '<td colspan="8" class="X Ll Brahmic">gujarati';
- }
- elsif ($value == 0xB0) {
- print '<td colspan="8" class="X Ll Brahmic">oriya';
- }
- elsif ($value == 0xB8) {
- print '<td colspan="8" class="X Ll Brahmic">tamil';
- }
- elsif ($value == 0xC0) {
- print '<td colspan="8" class="X Ll Brahmic">telugu';
- }
- elsif ($value == 0xC8) {
- print '<td colspan="8" class="X Ll Brahmic">kannada';
- }
- elsif ($value == 0xD0) {
- print '<td colspan="8" class="X Ll Brahmic">malayalam';
- }
- elsif ($value == 0xD8) {
- print '<td colspan="8" class="X Ll Brahmic">sinhala';
- }
- elsif ($value == 0xE0) {
- print '<td colspan="8" class="X Ll Brahmic Khmer">thai';
- }
- elsif ($value == 0xE8) {
- print '<td colspan="8" class="X Ll Brahmic Khmer">lao';
- }
- elsif ($value == 0xF0) {
- print '<td colspan="16" class="X Ll Brahmic">tibetan';
- }
- elsif ($value == 0x100) {
- print '<td colspan="10" class="X Ll Brahmic">myanmar';
- }
- elsif ($value == 0x10A) {
- print '<td colspan="6" class="X Ll Aramaic">georgian';
- }
- elsif ($value == 0x110) {
- print '<td colspan="16" class="X Ll Hangul">hangeul jamo';
- }
- elsif ($value == 0x120) {
- print '<td colspan="16" class="X Ll African">ethiopic';
- }
- elsif ($value == 0x130) {
- print '<td colspan="8" class="X Ll African">ethiopic';
- }
- elsif ($value == 0x138) {
- print '<td colspan="2" class="X Ll African">eth+';
- }
- elsif ($value == 0x13A) {
- print '<td colspan="6" class="X Ll X">cherokee';
- }
- elsif ($value == 0x140) {
- print '<td colspan="16" rowspan="2" class="X Ll Syllabic">unified canadian aboriginal syllabics';
- }
- elsif ($value == 0x160) {
- print '<td colspan="8" class="X Ll Syllabic">unified canadian syllabics';
- }
- elsif ($value == 0x168) {
- print '<td colspan="2" class="X Ll X">ogham';
- }
- elsif ($value == 0x16A) {
- print '<td colspan="6" class="X Ll X">runic';
- }
- elsif ($value == 0x170) {
- print '<td colspan="2" class="X Ll Brahmic">tagalog';
- }
- elsif ($value == 0x172) {
- print '<td colspan="2" class="X Ll Brahmic">hanun';