I'm trying to use Inconsolata font in xterm
but it is not show utf-8 chars
like this file http://www.cl.cam.ac.uk/~mgk25/ucs/exam … 8-demo.txt
just like this picture
how to let xterm show these chars?
Xterm is my favorite terminal emulator.
Boxes instead of characters in xterm usually mean the font does not contain the glyphs (characters). Not counting bold and italic font faces, xterm doesn't allow more than two fonts, one for the normal font and one for the double-wide character (CJK) font. The best you can do with xterm, if you want to see many of the characters, is to choose fonts with a wide range included.
xterm*VT100*cjk_width: true xterm*VT100*faceName: DejaVu Sans Mono:style=Book:size=8:antialias=false xterm*VT100*faceNameDoublesize: WenQuanYi Bitmap Song:style=Regular:size=8
URxvt*font: xft:DejaVu Sans Mono:style=Book:size=8, \ xft:Droid Sans Fallback:style=Regular, \ xft:Droid Sans Japanese:style=Regular, \ xft:unifont:style=Medium
I have not got around to the fine tuning of Urxvt. I am not too fond of the Droid fonts, but they do serve well as fallback fonts.