unicode_start 中文man頁(yè)面
名稱
unicode_start - 將控制臺(tái)設(shè)為Unicode模式.
總覽
unicode_start [ font [ screen-font-map ] ]
描述
unicode_start 命令將顯示屏及鍵盤(pán)設(shè)為 Unicode 模式, 并且有可能還會(huì)裝載所用的 字體 和 顯示屏-字體 映射. 如果沒(méi)有給出參數(shù),就使用當(dāng)前的 字體 和 顯示屏-字體 映射.
BUGS
如果沒(méi)有裝載"顯示屏-字體 映射", 可能會(huì)有麻煩.
另見(jiàn)
unicode_stop(1), consolechars(8).
#p#
NAME
unicode_start - put keyboard and console in unicode mode
SYNOPSIS
unicode_start [font [umap]]
DESCRIPTION
The unicode_start command will put the keyboard and console into Unicode (UTF-8) mode.
For the keyboard this means that one can attach 16-bit U+xxxx values to keyboard keys using loadkeys(1), and have these appear as UTF-8 input to user programs. Also, that one can type hexadecimal Alt-xxxx using the numeric keypad, and again produce UTF-8.
For the console this means that the kernel expects UTF-8 output from user programs, and displays the output accordingly.
The parameter font is a font that is loaded. It should have a built-in Unicode map, or, if it hasn't, such a map can be given explicitly as second parameter. When no font was specified, some default font is loaded.
NOTE
Unicode mode is a parameter with a value per virtual console. However, usually the font and keymap is common to all consoles.
SEE ALSO
dumpkeys(1), kbd_mode(1), loadkeys(1), unicode_stop(1), utf-8(7), setfont(8)