
我正在尝试在 urxvt 终端中显示盲文字符,例如我想在运行时看到一个点echo -e "\u2840"
。
echo -e "\u0641"
令我困惑的是,只有当我首先在该终端窗口中运行时,这才有效。尝试显示盲文字符后运行此命令并不能解决问题。当它不起作用时,我看到的是正方形而不是 unicode 字符。
(UTF-8-demo.txt
取自 https://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-demo.txt)
我的 .Xdefaults:
! vim: set ts=8 sw=8 sts=8:
URxvt*background: rgba:0000/0000/0000/abab
URxvt.font: xft:monospace:size=7:antialias=true
URxvt.boldFont: xft:monospace:bold:size=7:antialias=true
URxvt.color4: RoyalBlue
URxvt*color12: #5c5cff
URxvt*depth: 32
URxvt.eightBitInput: false
URxvt.foreground: #ffffff
URxvt*keysym.End: \033[4~
URxvt*keysym.Home: \033[1~
URxvt.matcher.button: 3
URxvt.matcher.pattern.1: \\bwww\\.[\\w-]\\.[\\w./?&@#-]*[\\w/-]
URxvt.MetaSendsEscape: true
URxvt.modifier: alt
URxvt.perl-ext-common: default,matcher
URxvt.saveLines: 8192
URxvt.scrollBar: false
URxvt.termName:xterm-256color
URxvt:urlLauncher: firefox