On Tue, Mar 27, 2012 at 08:10:42PM +0200, Elimar Riesebieter wrote:
> * Sven Joachim <svenj...@gmx.de> [2012-03-27 19:54 +0200]:
> 
> > Am 27.03.2012 um 17:34 schrieb Elimar Riesebieter:
> > 
> > > * Sven Joachim <svenj...@gmx.de> [2012-03-27 17:06 +0200]:
> [...]
> > >> This combination is asking for trouble since you will generally not be
> > >> able to display non-ASCII characters with it.  At least LC_MESSAGES and
> > >> LC_CTYPE must both be set to a UTF-8 locale or both to a legacy locale.
> > >
> > > Exporting LC_ALL=de_DE.utf8 doesn't display ACS characters here.
> > 
> > You have to put the console into unicode mode first, e.g. by running
> > unicode_start.  Does it work then?
> 
> Mostly. German Umlauts and € (Euro-Sign) isn't accepted.

hmm, Linux's UTF-8 support isn't that extensive, but I'd thought Umlauts would 
work.

But if your kernel's "3.3", supposedly it supports proper SI/SO controls.

ncurses uses the locale-encoding value based on the locale settings.
In spite of the explicit LC_CTYPE, that's determined in this case
by the LANG setting, i.e., UTF-8.

If your locale doesn't look like UTF-8 encoding to ncurses (and if the
console isn't in UTF-8 mode), then it's supposed to handle line-drawing.

A drawback to doing that would be in editing text, etc.

-- 
Thomas E. Dickey <dic...@invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature

Reply via email to