LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   need help with utf support in kernel and urxvt (https://www.linuxquestions.org/questions/linux-software-2/need-help-with-utf-support-in-kernel-and-urxvt-483319/)

hedpe 09-13-2006 11:57 PM

need help with utf support in kernel and urxvt
 
Hey guys,

Okay, let me summarize my "weird behavior"

I've always used aterm, which has been great, except it does not have unicode support, and I am starting to type a lot of stuff in greek so I wanted full unicode support in a terminal. Well, first I turned to xterm, but xterm has very limited features, so someone suggested I use urxvt.

In xterm, everything works as I expect it to, however in urxvt, a backspace does not fully whipe out multibyte characters.

For example:

First I type od
Then I type a 'k' in the greek language, then hit backspace
Then I have to hit ctrl+d twice to get to the command prompt again

I get this output from that sequence:
Code:

gnychis at monster ~ $ od
0000000 000316
0000001

I can do the same an xterm but I only have to hit ctrl+d once, and get
this output:
Code:

gnychis at monster ~ $ od
0000000

Therefore, according to you this is a kernel problem?

I am using these options in my kernel:
Code:

CONFIG_NLS=y
CONFIG_NLS_DEFAULT="utf8"
CONFIG_NLS_CODEPAGE_437=y
CONFIG_NLS_ISO8859_1=y
CONFIG_NLS_ISO8859_7=y
CONFIG_NLS_UTF8=y

Is there anything I am doing wrong in the kernel configuration for UTF-8?

More info and background on the problem can be found in this mailing list thread:
http://lists.schmorp.de/pipermail/rx...q3/000284.html

Thanks!
George


All times are GMT -5. The time now is 08:13 PM.