Chapter 7. Output to Display
64
Fonts with fixed sizes are used. The unit of the width of the font is called 'column'. 'Dou
blewidth' fonts, i.e., fonts whose width is 2 columns, are used for CJK ideograms, Japanese
Hiragana and Katakana, Korean Hangul, and related symbols. Combined characters used
for Thai and so on can be regarded as 'zero' column characters.
7.1.1 Encoding
Softwares running on the console are not responsible for displaying. The console itself is respon
sible. There are consoles which can display encodings other than ASCII such as
kon in kon2 package EUC JP, Shift JIS, and ISO 2022 JP
jfbterm EUC JP, ISO 2022 JP, and ISO 2022 (including any 94, 96, and 94x94 coded character sets
whose fonts are available)
kterm EUC JP, Shift JIS, ISO 2022 JP, and ISO 2022 (including ISO8859 {1,2,3,4,5,6,7,8,9}, JISX 0201,
JISX 0208, JISX 0212, GB 2312, and KSC 5601)
krxvt in rxvt ml package EUC JP
crxvt gb in rxvt ml package CN GB
crxvt big5 in rxvt ml package Big5
cxtermb5 in cxterm big5 package Big5
xcinterm big5 in xcin package Big5
xcinterm gb in xcin package CN GB
xcinterm gbk in xcin package GBK
xcinterm big5hkscs in xcin package Big5 with HKSCS
hanterm EUC KR, Johab, and ISO 2022 KR
xiterm and txiterm in xiterm+thai package TIS 620
xterm UTF 8
However, there are no way for a software on console to know which encoding is available. I think
it is a responsibility for a user to properly set LC_CTYPE locale (i.e. LC_ALL, LC_CTYPE, or
LANG environmental variable). Provided LC_CTYPE locale is set properly, a software can use it
to know which encoding to be supported by the console.
footer
Our partners:
PHP: Hypertext Preprocessor Best Web Hosting
Java Web Hosting
Inexpensive Web Hosting
Jsp Web Hosting
Cheapest Web Hosting
Jsp Hosting
Cheap Hosting
Visionwebhosting.net Business web hosting division of Web
Design Plus. All rights reserved