How to make xterm display Chinese characters?

How to make xterm display Chinese characters? It just displays some small rectangles for Chinese characters.

First, the settings for some old X programs like xterm is in ~/.Xresources. And it takes effect after the X server restarts, or you can manually load the settings by

xrdb -merge ~/.Xresources

Second, the Chinese or similar fonts displaying not well is usually caused by wrong fonts which do not have Chinese or similar characters. The fonts used for these characters can be set for xterm by setting XTerm*faceNameDoublesize.

For a complete configuration in my ~/.Xresource file for xterm, please check my configuration file.

Eric Ma

Eric is a systems guy. Eric is interested in building high-performance and scalable distributed systems and related technologies. The views or opinions expressed here are solely Eric's own and do not necessarily represent those of any third parties.

Leave a Reply

Your email address will not be published. Required fields are marked *