You are not logged in.

#1 2012-04-01 09:10:49

jpk
Member
Registered: 2011-09-27
Posts: 13

Unicode support in my terminals is not working anymore

After turning on my computer today, the unicode characters for my terminals are not working. Other applications like gvim and awesome, firefox, etc. still display the unicode chars correctly.

Awesome tag names (unicode working):
awesometitlebar.jpg

uxterm (unicode working):
uxterm.jpg

xterm(unicode broken):
xterm.jpg

rxvt-unicode (unicode broken), my terminal of choice:
urxvt.jpg

Here is my .Xresources. I have uncommented the font setup for xterm and urxvt for testing:

! terminal settings ----------------------------------------------------------
XTerm*metaSendsEscape: true
XTerm*eightBitInput: false
!XTerm*faceName: Bitstream Vera Sans Mono:pixelsize=11

URxvt.depth              : 32
URxvt.saveLines          : 10000
URxvt*inheritPixmap      : true
URxvt.scrollBar          : false
URxvt.shading            : 10
URxvt.tintColor          : white
URxvt.cursorColor        : #99a9cf
*background              : #151515
*foreground              : #d0d0d0
!URxvt.imLocale           : en_EN.UTF-8
!URxvt.multichar_encoding : utf-8
URxvt*loginShell         : true
URxvt.secondaryScroll    : true
!URxvt.font              : xft:Bitstream Vera Sans Mono:pixelsize=11
!URxvt.font               : xft:Liberation Mono:size=8

*SimpleMenu*menuLabel.vertSpace: 1
*charClass: 33:48,35:48,37-38:48,43-47:48,58:48,61:48,63-64:48,95:48,126:48

If any one could help my in tracking down this issue?

Last edited by jpk (2012-04-01 09:11:25)

Offline

#2 2012-04-01 09:25:30

jpk
Member
Registered: 2011-09-27
Posts: 13

Re: Unicode support in my terminals is not working anymore

Okay, I think, I have found the problem. my $LANG is not set to "en_US.utf-8". It is configured in my /etc/rc.conf, but after login into the WM, the $LOCALE setting is not loaded. For now I could fix the problem by adding

export LANG="en_US.utf-8"

to my ~/.xinitrc. I would count that as half-solved. Any suggestion why the environmental variable is not set?

Offline

Board footer

Powered by FluxBB