|
|
我最近在升级时,发现init过程中,先前的"setting terminal encoding UTF-8" 变成了"setting terminal encoding ASCII" ,结果执行“make menuconfig”时菜单乱七八糟的,什么也看不清,还有个细节原来控制台的中文字显示为黑块,现在是乱码(很乱的那种),我知道跟$LANG有关系,但是怎样才能恢复先前的状态?总不能每次都unset LANG吧?
longzz@Gentoo ~ $ cat /etc/conf.d/keymaps
# /etc/conf.d/keymaps
# Use KEYMAP to specify the default console keymap. There is a complete tree
# of keymaps in /usr/share/keymaps to choose from.
KEYMAP="us"
#KEYMAP="la-latin1"
# Should we first load the 'windowkeys' console keymap? Most x86 users will
# say "yes" here. Note that non-x86 users should leave it as "no".
SET_WINDOWKEYS="no"
# The maps to load for extended keyboards. Most users will leave this as is.
EXTENDED_KEYMAPS=""
#EXTENDED_KEYMAPS="backspace keypad euro2"
# Tell dumpkeys(1) to interpret character action codes to be
# from the specified character set.
# This only matters if you set UNICODE="yes" in /etc/rc.conf.
# For a list of valid sets, run `dumpkeys --help`
DUMPKEYS_CHARSET=""
# Some fonts map AltGr-E to the currency symbol ¤ instead of the Euro €
# To fix this, set to "yes"
FIX_EURO="no" longzz@Gentoo ~ $ cat /etc/env.d/02locale
LANG=zh_CN.UTF-8
[quote][/quote] |
|