![]() |
encoding chars problems in Xterm
Hello,
I have some problems on Xterminal, I'm gonna try to explain it by giving you several examples. First, I'm french, so I use specials chars and accents like "é", "è", "ç", "ê", "ë". Code:
$ cd /tmpCode:
$rmé totoCode:
$ rm totosecond test: I've erased the "é", I move the cursor left until the beginning of the line. Another problem: the cursor moves one char before the start of the command line! I've tried with two "éé", and then the cursor moves on the "$" (and far left as the number of special chars). Then I move it rightmost I obtain: Code:
/tmp$ lséééAnother example: try to insert a "é" char at the middle of a string (I place the cursor on the "y"). Code:
$ azertyuiopAnother test: i type a command with the "é" letter, and i move left and right. Each time the line has been shifted to the left. The special char take 2 spaces on the line, but is printed on one box... Does anyone has already had this problem? Does a solution exists to fix it? I hope you understand my problem. |
Re: encoding chars problems in Xterm
|
Re: encoding chars problems in Xterm
How can they call it fixed if it isn't fixed for the N900 nor anything before it?
|
Re: encoding chars problems in Xterm
FIXED in Harmattan (back when Harmattan was going to be Maemo 6). But see iDont's enhanced busybox which should contain the upstream fix.
|
Re: encoding chars problems in Xterm
thanks to have responded so quickly!
I've installed the last version of "busybox-power" (09/11/2011), when I launch xterminal, it prints "BusyBox v1.19.2 (Debian 1.19.2power1)" (and I can use new useful tools), but for my previous problem nothing has changed, same symptoms... |
Re: encoding chars problems in Xterm
Quote:
You need to start a new shell like: Code:
LANG=en_EN.UTF8 shEdit: since you're French, you probably want to replace en_EN with fr_FR in the code above. |
Re: encoding chars problems in Xterm
Is there a way to change the default?
|
Re: encoding chars problems in Xterm
Quote:
Quote:
Have found this http://busybox.net/FAQ.html#configure , will try tomorrow :) |
Re: encoding chars problems in Xterm
Is there any reason this is not default? Been getting �'s in one application and this fixes it. Thanks!
|
Re: encoding chars problems in Xterm
Quote:
Code:
export LANG=nl_NLCode:
export LANG=nl_NL.UTF8The only known side effect I'm aware of is that Ctrl-Space is seen as a NULL character in the terminal, which doesn't happen when using a non-Unicode locale. Quote:
You can configure BusyBox to disrespect your system locale and force Unicode support though. To achieve this, run "apt-get source busybox-power" in Scratchbox, modify "CONFIG_FEATURE_CHECK_UNICODE_IN_ENV=y" in the two config files in debian/config/ to "CONFIG_FEATURE_CHECK_UNICODE_IN_ENV=n", and recompile busybox-power with "dpkg-buildpackage -r"fakeroot -u" -uc -us -nc" I would encourage you to try changing your system's locale first however, rather than recompiling BusyBox with the above change. If you do want to recompile BusyBox though, feel free to contact me if you encounter any issues. Quote:
|
Re: encoding chars problems in Xterm
Out of curiosity, is there a listing of power features? We all might be missing on something. Good job, hope you keep it up.
|
Re: encoding chars problems in Xterm
Quote:
[shameless self-plug] There are roughly four areas of improvement:
Further busybox-power specific discussion (if any) should probably continue over at its own thread, since we're getting kind of off topic now. |
Re: encoding chars problems in Xterm
Thanks for it iDont :-)
Quote:
|
Re: encoding chars problems in Xterm
Quote:
Quote:
This post supports that smssend might be at fault, although the author hasn't responded yet at the moment. I'll keep an eye on the smssend thread. |
| All times are GMT. The time now is 03:04. |
vBulletin® Version 3.8.8