* Ryan Kavanagh [2012-05-17 14:00 +0200]:
Hi,

On Thu, May 17, 2012 at 11:00:30AM +0200, Nicolas Évrard wrote:
I notice that if I start urxvt from an xterm window then the UTF-8
characters display properly. I am a bit puzzled about the cause of the
bug.

I used to encounter this quite a bit on FreeBSD and found it to be an
instance of the following FAQ in urxvt(7). Could you please confirm that
it is not so in your case?

| Unicode does not seem to work?
|
| If you encounter strange problems like typing an accented character but
| getting two unrelated other characters or similar, or if program output
| is subtly garbled, then you should check your locale settings.
|
| Rxvt-unicode must be started with the same "LC_CTYPE" setting as the
| programs running in it. Often rxvt-unicode is started in the "C"
| locale, while the login script running within the rxvt-unicode window
| changes the locale to something else, e.g. "en_GB.UTF-8". Needless to
| say, this is not going to work, and is the most common cause for
| problems.

Good catch : I changed my .xsessionrc to add
    export LANG=fr_BE.UTF-8

and now everything works fine.

--
(°> Nicolas Évrard
( ) Liège
 `¯

Attachment: signature.asc
Description: Digital signature

Reply via email to