I have recently moved my Gentoo from ISO-8859-1 to UTF-8 and the Using UTF-8 with Gentoo guide provides good help to accomplish the change. My system now uses UTF-8, but there's a program that didn't like the change: ncurses-based make menuconfig dialog (lxdialog), the one used to configure the kernel. The special characters for drawing the borders (such as '|') show messed up, they only show correctly if i change PuTTY's configuration back to ISO-8859-1.

Has anybody experienced similar problems? Did you find a solution for this?

Ncurses and Slang
Note: Ignore any mention of Slang in this section if you do not have it installed or do not use it.

It is wise to add unicode to your global USE flags in /etc/make.conf, and then to remerge sys-libs/ncurses and sys-libs/slang if appropriate. Portage will do this automatically when you update your system

I have this problem too; it's apparent in such ncurses output as menuconfig and alsamixer.

I would really like to know how to make it go away... as I clearly don't have enough changes to propogate to my dozen gentoo boxes ; ) Seriously, any fixes guys?_________________Configuring a Firewall? Try my iptables configurationLinuxCommando.com is my blog for linux-related scraps and tidbits. Stop by for a visit!

thank you: no i have not changed anything. I've just installed the snapshots ready 2 or 3 weeks ago on a bios raid 0 system . Processor amd xp barton 2600+, abit nf7s v2. I have not installed unicod nor chaged profile thou ppl are telling me to do it for solving the problem. i've tried installing unicode but it gave my some error in setting variables and beside nothing chianged in displaying characters.
As i said in another topic entering "reset" the problem disappears but only for that console and not permanently
this could be a [edit]HINT.

I 've also tried to re-emerge ncurses and after glibc... nothin.

USE variable doesn't include 'unicode' flag

something set in kernel config file?

Last edited by Black Imp on Thu Jan 25, 2007 7:00 pm; edited 1 time in total

Well, the profile may still have unicode set, so you'd have to have -unicode in make.conf to get rid of it. As far as the kernel, there in fact is an option under "File Systems", "Native Language Support", where you can define the default codepage and choose whether the unicode codepage is built in._________________Thomas S. Howard

But when I login directly from console (i.e. no remote login) or remotely from Ubuntu, all the lines show up correctly. Also, if I use the same problematic Windows/PuTTY to login to a different Gentoo box, the lines look fine.

Changing PuTTY's setting to "ISO-8859-1" does solve the problem, but then I'm not able to see any of the Unicode characters. If you already figured out, please share how you did. Thanks.
__
sol

Under Adjust how PuTTY handles line drawing characters select Use Unicode line drawing code points

Navigate to Connection > Data

Under Terminal details, enter putty for Terminal-type string

Navigate to Session

Highlight Default Settings and then click Save

The above steps will make the appropriate changes for any new or one-off sessions. If you have saved sessions (like I do) unfortunately, you will need to load each session and repeat the above steps, overwriting the original saved session._________________[ badm4n ]