You are not logged in.

#1 2015-10-17 10:22:20

doupod
Member
Registered: 2012-09-06
Posts: 76

urxvt sometimes not copying/pasting accentuated characters

Hi,

Recently, I found my urxvt was not able to copy / paste accentuated characters, although I never experienced it before and don't think I changed anything in my config recently.

If I write "éàé" in my urxvt window, it works. Now, if I select it, and paste it with Shift+Inser, I have "?" characters instead.

Weird thing is that if I do the same with "ếéà", it works… (first character is "^" + "é")

Thanks!

Last edited by doupod (2015-10-17 10:22:48)

Offline

#2 2015-10-17 14:53:41

olive
Member
From: Belgium
Registered: 2008-06-22
Posts: 1,490

Re: urxvt sometimes not copying/pasting accentuated characters

Can you post the output of the "locale" command. It works for me.

Last edited by olive (2015-10-17 14:53:51)

Offline

#3 2015-10-17 14:54:26

doupod
Member
Registered: 2012-09-06
Posts: 76

Re: urxvt sometimes not copying/pasting accentuated characters

Here it is:

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

Offline

#4 2015-10-17 15:20:39

olive
Member
From: Belgium
Registered: 2008-06-22
Posts: 1,490

Re: urxvt sometimes not copying/pasting accentuated characters

Ok, and what's the output of locale -a (all available locales)? For me your locale is referenced as: fr_FR.utf8. You have to uncomment your desired locale in /etc/locale.gen; then locale-gen to make them available.

Last edited by olive (2015-10-17 15:20:52)

Offline

#5 2015-10-17 23:24:15

doupod
Member
Registered: 2012-09-06
Posts: 76

Re: urxvt sometimes not copying/pasting accentuated characters

% locale -a
C
en_US.utf8
fr_FR.utf8
POSIX

And everything should be generated and available. Not sure it is a locale problem hmm

Offline

#6 2015-10-18 06:47:15

olive
Member
From: Belgium
Registered: 2008-06-22
Posts: 1,490

Re: urxvt sometimes not copying/pasting accentuated characters

doupod wrote:
% locale -a
C
en_US.utf8
fr_FR.utf8
POSIX

And everything should be generated and available. Not sure it is a locale problem hmm

I am not sure either. Nevertheless; the locale available (fr_FR.ut8) is no spelled exactly as the one you use (fr_FR.UTF-8). I would try to put your locale to fr_FR.utf8 and retry (You can do LC_ALL=fr_FR.utf8 and relaunch an urxvt, be sure to check the output of locale to see if they are not overridden).

Last edited by olive (2015-10-18 06:47:42)

Offline

#7 2015-10-18 11:03:02

doupod
Member
Registered: 2012-09-06
Posts: 76

Re: urxvt sometimes not copying/pasting accentuated characters

olive wrote:
doupod wrote:
% locale -a
C
en_US.utf8
fr_FR.utf8
POSIX

And everything should be generated and available. Not sure it is a locale problem hmm

I am not sure either. Nevertheless; the locale available (fr_FR.ut8) is no spelled exactly as the one you use (fr_FR.UTF-8). I would try to put your locale to fr_FR.utf8 and retry (You can do LC_ALL=fr_FR.utf8 and relaunch an urxvt, be sure to check the output of locale to see if they are not overridden).


Same behavior sad

Offline

Board footer

Powered by FluxBB