URL
https://opencores.org/ocsvn/or1k_old/or1k_old/trunk
Subversion Repositories or1k_old
[/] [or1k_old/] [trunk/] [uclinux/] [uClinux-2.0.x/] [Documentation/] [unicode.txt] - Rev 1765
Go to most recent revision | Compare with Previous | Blame | View Log
The Linux kernel code has been rewritten to use Unicode to mapcharacters to fonts. By downloading a single Unicode-to-font table,both the eight-bit character sets and UTF-8 mode are changed to usethe font as indicated.This changes the semantics of the eight-bit character tables subtly.The four character tables are now:Map symbol Map name Escape code (G0)LAT1_MAP Latin-1 (ISO 8859-1) ESC ( BGRAF_MAP DEC VT100 pseudographics ESC ( 0IBMPC_MAP IBM code page 437 ESC ( UUSER_MAP User defined ESC ( KIn particular, ESC ( U is no longer "straight to font", since the fontmight be completely different than the IBM character set. Thispermits for example the use of block graphics even with a Latin-1 fontloaded.In accordance with the Unicode standard/ISO 10646 the range U+F000 toU+F8FF has been reserved for OS-wide allocation (the Unicode Standardrefers to this as a "Corporate Zone", since this is inaccurate forLinux we call it the "Linux Zone"). U+F000 was picked as the startingpoint since it lets the direct-mapping area start on a large power oftwo (in case 1024- or 2048-character fonts ever become necessary).This leaves U+E000 to U+EFFF as End User Zone.The Unicodes in the range U+F000 to U+F1FF have been hard-coded to mapdirectly to the loaded font, bypassing the translation table. Theuser-defined map now defaults to U+F000 to U+F1FF, emulating theprevious behaviour. This range may expand in the future should it bewarranted.Actual characters assigned in the Linux Zone--------------------------------------------In addition, the following characters not present in Unicode 1.1.4 (atleast, I have not found them!) have been defined; these are used bythe DEC VT graphics map:U+F800 DEC VT GRAPHICS HORIZONTAL LINE SCAN 1U+F801 DEC VT GRAPHICS HORIZONTAL LINE SCAN 3U+F803 DEC VT GRAPHICS HORIZONTAL LINE SCAN 7U+F804 DEC VT GRAPHICS HORIZONTAL LINE SCAN 9The DEC VT220 uses a 6x10 character matrix, and these characters forma smooth progression in the DEC VT graphics character set. I haveomitted the scan 5 line, since it is also used as a block-graphicscharacter, and hence has been coded as U+2500 FORMS LIGHT HORIZONTAL.However, I left U+F802 blank should the need arise.Klingon language support------------------------Unfortunately, Unicode/ISO 10646 does not allocate code points for thelanguage Klingon, probably fearing the potential code point explosionif many fictional languages were submitted for inclusion. There arealso political reasons (the Japanese, for example, are not too happyabout the whole 16-bit concept to begin with.) However, with Linuxbeing a hacker-driven OS it seems this is a brilliant linguistic hackworth supporting. Hence I have chosen to add it to the list in theLinux Zone.Several glyph forms for the Klingon alphabet has been proposed.However, since the set of symbols appear to be consistent throughout,with only the actual shapes being different, in keeping with standardUnicode practice these differences are considered font variants.Klingon has an alphabet of 26 characters, a positional numeric writingsystem with 10 digits, and is written left-to-right, top-to-bottom.Punctuation appears to be only used in Latin transliteration; it isappears customary to write each sentence on its own line, andcentered. Space has been reserved for punctuation should it provenecessary.This encoding has been endorsed by the Klingon Language Institute.For more information, contact them at:http://www.kli.org/Since the characters in the beginning of the Linux CZ have been moreof the dingbats/symbols/forms type and this is a language, I havelocated it at the end, on a 16-cell boundary in keeping with standardUnicode practice.U+F8D0 KLINGON LETTER AU+F8D1 KLINGON LETTER BU+F8D2 KLINGON LETTER CHU+F8D3 KLINGON LETTER DU+F8D4 KLINGON LETTER EU+F8D5 KLINGON LETTER GHU+F8D6 KLINGON LETTER HU+F8D7 KLINGON LETTER IU+F8D8 KLINGON LETTER JU+F8D9 KLINGON LETTER LU+F8DA KLINGON LETTER MU+F8DB KLINGON LETTER NU+F8DC KLINGON LETTER NGU+F8DD KLINGON LETTER OU+F8DE KLINGON LETTER PU+F8DF KLINGON LETTER Q- Written <q> in standard Okrand Latin transliterationU+F8E0 KLINGON LETTER QH- Written <Q> in standard Okrand Latin transliterationU+F8E1 KLINGON LETTER RU+F8E2 KLINGON LETTER SU+F8E3 KLINGON LETTER TU+F8E4 KLINGON LETTER TLHU+F8E5 KLINGON LETTER UU+F8E6 KLINGON LETTER VU+F8E7 KLINGON LETTER WU+F8E8 KLINGON LETTER YU+F8E9 KLINGON LETTER GLOTTAL STOPU+F8F0 KLINGON DIGIT ZEROU+F8F1 KLINGON DIGIT ONEU+F8F2 KLINGON DIGIT TWOU+F8F3 KLINGON DIGIT THREEU+F8F4 KLINGON DIGIT FOURU+F8F5 KLINGON DIGIT FIVEU+F8F6 KLINGON DIGIT SIXU+F8F7 KLINGON DIGIT SEVENU+F8F8 KLINGON DIGIT EIGHTU+F8F9 KLINGON DIGIT NINEOther Fictional and Artificial Scripts--------------------------------------Since the assignment of the Klingon Linux Unicode block, a registry offictional and artificial scripts has been established by John Cowan,<cowan@ccil.org>. The ConScript Unicode Registry is accessible athttp://locke.ccil.org/~cowan/csur/; the ranges used fall at the bottomof the End User Zone and can hence not be normatively assigned, but itis recommended that people who wish to encode fictional scripts usethese codes, in the interest of interoperability. For Klingon, CSURhas adopted the Linux encoding.H. Peter Anvin <hpa@zytor.com>
Go to most recent revision | Compare with Previous | Blame | View Log
