Re: i18n + widechars

Urs Janßen <[email protected]>
Newsgroups gmane.network.tin.devel
Message-ID <[email protected]>
On Tue, Apr 05, 2005 at 08:17:13PM +0200, Michael Bienia wrote:
> > Andrei Emeltchenko (who is currently working on the russian
> > translation) noticed that if running in a utf-8 environment some
> > width/length calculations for the screen layout are wrong (as they
> > simply do strlen() and co). here is an example of the 'M'enu screen
> > in a utf-8 term with LC_CTYPE=LC_MESSAGES=de_DE.utf-8
> [...]
> > anyone willing to look at this?
> 
> I can't reproduce it in my normal utf-8 environment. Do you have some
> more information about how to reproduce it?

not really. my normal env. is a non utf-8 env. I started a new shell in
an xterm via
xterm -u8 -fn "-Misc-Fixed-Medium-R-Normal--18-120-100-100-C-90-ISO10646-1"
and set the floowing locales:
LANG=en_US
LC_CTYPE=de_DE.utf-8
LC_NUMERIC="en_US"
LC_TIME="en_US"
LC_COLLATE="en_US"
LC_MONETARY="en_US"
LC_MESSAGES=de_DE.utf-8
LC_PAPER="en_US"
LC_NAME="en_US"
LC_ADDRESS="en_US"
LC_TELEPHONE="en_US"
LC_MEASUREMENT="en_US"
LC_IDENTIFICATION="en_US"
LC_ALL=

tin was linked against libncursesw and I got the 'grabbled' output.

urs
-- 
"Only whimps use tape backup: _real_ men just upload their important stuff
 on ftp, and let the rest of the world mirror it ;)" - Linus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.