我是從win2k telnet進linux
在bash的提示號無法輸入中文
如"地下鐵"就變成"aUK"
我觀察的結果是,中文字是兩個byte...結果都只出現low byte
可是進入vi後就可以正確如入中文
進ncftp後也可以
我是用debian distribution
我是過重新安裝 testing 版的bash也是無解
版主: mufa
# To allow the use of 8bit-characters like the german umlauts, comment out
# the line below. However this makes the meta key not work as a meta key,
# which is annoying to those which don't need to type in 8-bit characters.
set convert-meta on
jarodsu 寫:我那一行是 "off" 不是 "on"
set convert-meta on
^^^ off
就可以了....
下面是inputrc的內容
# /etc/inputrc - global inputrc for libreadline
# See readline(3readline) and `info rluserman' for more information.
# Be 8 bit clean.
set input-meta on
set output-meta on
# To allow the use of 8bit-characters like the german umlauts, comment out
# the line below. However this makes the meta key not work as a meta key,
# which is annoying to those which don't need to type in 8-bit characters.
set convert-meta off
有人可以說明為什麼嗎?
正在瀏覽這個版面的使用者:Google [Bot] 和 1 位訪客