Re: [gentoo-user] glibc-2.4-r2: Problems with UTF-8 locale

2006-05-05 Thread Alexander Skwar
Farhan Ahmed wrote:

> Even when my system was running glibc-2.4-r1 the UTF-8 denomination was
> .utf8..

Maybe with -r1, both denominations were correct. That might be true.
But with -r2, only .utf8 is correct.

Or, if .UTF-8 was wrong in -r1, then no application and the glibc
didn't know about this and behaved wrong. This might also be the
case :)

Alexander Skwar
-- 
QOTD:
"If I'm what I eat, I'm a chocolate chip cookie."
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] glibc-2.4-r2: Problems with UTF-8 locale

2006-05-05 Thread Farhan Ahmed
Alexander Skwar wrote:
> Hello!
> 
> Yesterday I updated from glibc-2.4-r1 to glibc-2.4-r2. Since then,
> I've got problems with my UTF-8 locale. I suppose, that is because
> the UTF-8 denomination seems to have changed from .UTF-8 to .utf8:
> 
> [10:17:42 [EMAIL PROTECTED]:~] $ locale -a
> locale: Cannot set LC_CTYPE to default locale: No such file or directory
> locale: Cannot set LC_MESSAGES to default locale: No such file or directory
> locale: Cannot set LC_COLLATE to default locale: No such file or directory
> C
> POSIX
> de_DE
> de_DE.utf8
> [EMAIL PROTECTED]
> en_US
> en_US.utf8
> 
> Before glibc-2.4-r2, it used to be "de_DE.UTF-8" and nto "de_DE.utf8".

Even when my system was running glibc-2.4-r1 the UTF-8 denomination was
.utf8.. Just now I upgraded to glibc-2.4-r2 the UTF-8 denomination is
still the same i.e., .utf8
> (snip)

Farhan Ahmed
-- 
Place   :  Bangalore, Karnataka, India
GPG Key :  8BE90E98
WengoPhone ID   :  farhanahmed
IRC Nick:  farhanahmed / farhanahmed06 (irc.freenode.net)


pgpGxcf93fD7z.pgp
Description: PGP signature


Re: [gentoo-user] glibc-2.4-r2: Problems with UTF-8 locale

2006-05-05 Thread Alexander Skwar
Graham Murray wrote:

> I had similar problems, but solved them. In glibc-2.4-r1 and
> earlier, because I did not set the userlocales USE flag it built all
> of the locales. In 2.4-r2 this use flag has been removed and it only
> builds a subset of locales - which did not include en_GB.UTF8 which I
> use. So I had to edit /etc/locale.gen to add my locale and then run
> locale-gen. After that all worked again.

Ah!

I did NOT have a good locale.gen, but a locales.build. This file was
used when the "userlocales" flag was set.

Thanks!

Alexander Skwar
-- 
BOFH Excuse #288:

Hard drive sleeping. Let it wake up on it's own...
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] glibc-2.4-r2: Problems with UTF-8 locale

2006-05-05 Thread Graham Murray
Alexander Skwar <[EMAIL PROTECTED]> writes:

> Yesterday I updated from glibc-2.4-r1 to glibc-2.4-r2. Since then,
> I've got problems with my UTF-8 locale. I suppose, that is because
> the UTF-8 denomination seems to have changed from .UTF-8 to .utf8:

I had similar problems, but solved them. In glibc-2.4-r1 and
earlier, because I did not set the userlocales USE flag it built all
of the locales. In 2.4-r2 this use flag has been removed and it only
builds a subset of locales - which did not include en_GB.UTF8 which I
use. So I had to edit /etc/locale.gen to add my locale and then run
locale-gen. After that all worked again.
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] glibc-2.4-r2: Problems with UTF-8 locale

2006-05-05 Thread Alexander Skwar
Hello!

Yesterday I updated from glibc-2.4-r1 to glibc-2.4-r2. Since then,
I've got problems with my UTF-8 locale. I suppose, that is because
the UTF-8 denomination seems to have changed from .UTF-8 to .utf8:

[10:17:42 [EMAIL PROTECTED]:~] $ locale -a
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_COLLATE to default locale: No such file or directory
C
POSIX
de_DE
de_DE.utf8
[EMAIL PROTECTED]
en_US
en_US.utf8

Before glibc-2.4-r2, it used to be "de_DE.UTF-8" and nto "de_DE.utf8".
I'm also concerned about those first 3 error messages reg. LC_CTYP,
LC_MESSAGES and LC_COLLATE.

Now, when I start some program like vncserver (actually: perl), I get:

[10:18:31 [EMAIL PROTECTED]:~] $ vncserver -help
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "de_DE.utf8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

usage: vncserver [:] [-name ] [-depth ]
 [-geometry x]
 [-pixelformat rgbNNN|bgrNNN]
 ...

   vncserver -kill 

That's also especially annoying with KDE programs (I normally
use Gnome). There, when I enter a "special character" like the
German "รถ", I only see 2 empty blocks: ??  But that seems only
to affect my local display, it's send out just fine. As an example,
please see 


Well - what to do now?

Thanks,

Alexander Skwar
-- 
If a 6600 used paper tape instead of core memory, it would use up tape
at about 30 miles/second.
-- Grishman, Assembly Language Programming
-- 
gentoo-user@gentoo.org mailing list