First of all, xterm does not start in unicode mode by default, start it
with -u8 option or use wrapper uxterm.

Second, you need to specify correct font codepage for your font. I also
use Terminus.

What you want to add is this to .Xdefaults:

XTerm*utf8: 1
XTerm*font: -*-terminus-medium-*-*-*-18-*-*-*-*-*-iso10646-*

Now you can start xterm and it will work as expected.

More here: https://en.wikipedia.org/wiki/Universal_Character_Set

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xterm in Ubuntu.
https://bugs.launchpad.net/bugs/1125207

Title:
  xterm cannot handle unicode when default font is changed

Status in “xterm” package in Ubuntu:
  Invalid

Bug description:
  I have been trying to change my font to `Terminus` (it is broken for
  most other fonts as well) using either something like:

      xterm*font                   :
  -*-terminus-*-*-*-*-12-*-*-*-*-*-*-*

  or:

      xterm*font                   : xft:Terminus:pixelsize=12

  and most unicode characters seem broken. I have been testing this
  using:

      http://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-demo.txt

  There is no such problem with gnome-terminal or urxvt.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xterm/+bug/1125207/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to