You are not logged in.

#1 2011-02-17 20:26:43

disnesquick
Member
Registered: 2011-02-17
Posts: 9

Unicode character support only when terminal called recursively

I am having a strange problem with getting unicode characters to display in a terminal emulator. I have the same problem with both Sakura and urxvt. Opening the terminal window directly from the desktop environment (I'm using awesome so either using the menu or using the run widget in the bar) means that accented characters show up as a ? (for sakura) or not at all (for urxvt). However, if I run either terminal emulator from within another terminal emulator window then all the accented characters display perfectly.

locale:

LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8

env:

TERM=xterm
SHELL=/bin/bash
LC_ALL=en_US.UTF-8
USER=disnesquick
PATH=/usr/bin:/bin
PWD=/home/disnesquick
LANG=en_US.UTF-8
PS1=[\u@\h \W]\$ 
PS3=> 
PS2=> 
PS4=+ 
SHLVL=5
HOME=/home/disnesquick
LOGNAME=disnesquick
PROMPT_COMMAND=echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"
WINDOWPATH=7
DISPLAY=:0
XAUTHORITY=/home/disnesquick/.Xauthority
_=/usr/bin/env

These do not change in the second terminal opened from within the first
I'm not sure what other information would be needed to diagnose the issue but can post whatever might be necessary.

Best,
DNQ

Offline

#2 2011-02-17 20:38:46

disnesquick
Member
Registered: 2011-02-17
Posts: 9

Re: Unicode character support only when terminal called recursively

Strangely, having updated to the latest version of awesome from the GIT, this issue went away. It is still present after rollback to version 3.4.9 though. Most vexing...

Offline

#3 2011-03-11 18:18:16

Jey_c
Member
Registered: 2011-03-11
Posts: 1

Re: Unicode character support only when terminal called recursively

Hello.

I had the same issue, and all program I run directly in awesome was by default in english.

I added at the beginning of my .xinitrc the definition of my locale :

export LC_ALL=fr_FR.UTF-8
export LANGUAGE=fr_FR.UTF-8
export LANG=fr_FR.UTF-8

Maybe only one is really relevant, but now everything works fine.

Offline

Board footer

Powered by FluxBB