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

2006-05-05 Thread Patrick Börjesson
On 2006-05-05 19:11, Farhan Ahmed uttered these thoughts:
> Well userlocales USE flag was there in glibc-2.4-r1 but it's absent in
> glibc-2.4-r2.. But here's the weird thing, I had compiled glibc-2.4-r1
> with userlocales USE flag, in my /etc/locales.build I just have
> 
>   en_US/ISO-8859-1
>   en_US.UTF-8/UTF-8
> 
> so the locale -a output, quiet expectantly, is:
> 
>   C
>   en_US
>   en_US.utf8
>   POSIX
> 
> But with 2.4-r2 there is no such flag as userlocales and I was expecting
> glibc to build all locales, but to my surprise I still have the above
> said locales only.. Any ideas?

locale-gen automatically uses /etc/locales.build (if it exists) if it
doesn't find any locales to generate in /etc/locale.gen

Regards,
  Patrick Börjesson

-- 
()  The ASCII Ribbon Campaign - against HTML Email
/\  and proprietary formats.


pgpz1jEZJOeyT.pgp
Description: PGP signature


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

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

> But here's the weird thing, I had compiled glibc-2.4-r1
> with userlocales USE flag, in my /etc/locales.build

There *is* no file called /etc/locales.build. glibc-2.4-r2
uses /etc/locale.gen to determine, which locales are to be
generated.

> But with 2.4-r2 there is no such flag as userlocales and I was expecting
> glibc to build all locales, but to my surprise I still have the above
> said locales only.. Any ideas?

Maybe it is a "compatability" thing, in that locales.build
has been updated for you to locale.gen.

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



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

2006-05-05 Thread Alexander Skwar
Jeremy Olexa wrote:
> Alexander Skwar wrote:
>>> Sven Köhler wrote:
 My glibc 2.3.6 (with userlocales turned off) never
 creates such locales.
>>> 
>>> There's no such flag as "userlocales".
>>> 
> 
> Sorry, I cannot help with the issue but I do know there is a userlocales
> flag,

No, there *IS* not. There *used to be* one.

It has been dumped in glibc-2.4-r2 and glibc-2.3.6-r4.

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



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

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

> Anyway have you changed your locale
> settings from .UTF-8 to .utf8

Yep. But most importantly, I setup the /etc/locale.gen file.

> (all environment variables etc.,)? Is your
> system working fine now?

Yes, it is.


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



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

2006-05-05 Thread Farhan Ahmed
Jeremy Olexa wrote:
> Alexander Skwar wrote:
> > Sven Köhler wrote:
> >> My glibc 2.3.6 (with userlocales turned off) never
> >> creates such locales.
> > 
> > There's no such flag as "userlocales".
> > 
> 
> Sorry, I cannot help with the issue but I do know there is a userlocales
> flag, I use this flag to only add the locales that I need and shave disk
> space.

Well userlocales USE flag was there in glibc-2.4-r1 but it's absent in
glibc-2.4-r2.. But here's the weird thing, I had compiled glibc-2.4-r1
with userlocales USE flag, in my /etc/locales.build I just have

  en_US/ISO-8859-1
  en_US.UTF-8/UTF-8

so the locale -a output, quiet expectantly, is:

  C
  en_US
  en_US.utf8
  POSIX

But with 2.4-r2 there is no such flag as userlocales and I was expecting
glibc to build all locales, but to my surprise I still have the above
said locales only.. Any ideas?

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


pgpOz1nQfA1rD.pgp
Description: PGP signature


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

2006-05-05 Thread Farhan Ahmed
Alexander Skwar wrote:
> >> > What might have been the last glibc-version with UTF-8 locales?
> >> 
> >> 2.3.6-r3 or 2.4-r1
> > 
> > No. Glibc-2.4-r1 used .utf8 locales.
> 
> That might be. Then I wonder, why I had no problems with .UTF-8
> when I was using 2.4-r1. As I wrote, it might be, that my system
> was misbehaving, as it accepted .UTF-8 just fine.

I'm afraid I got no idea about it.. Anyway have you changed your locale
settings from .UTF-8 to .utf8 (all environment variables etc.,)? Is your
system working fine now?

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


pgpzg9wZabYT2.pgp
Description: PGP signature


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

2006-05-05 Thread Jeremy Olexa
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Alexander Skwar wrote:
> Sven Köhler wrote:
>> My glibc 2.3.6 (with userlocales turned off) never
>> creates such locales.
> 
> There's no such flag as "userlocales".
> 

Sorry, I cannot help with the issue but I do know there is a userlocales
flag, I use this flag to only add the locales that I need and shave disk
space.

% grep userlocales /usr/portage/profiles/use.local.desc
sys-libs/glibc:userlocales - build only the locales specified in
/etc/locales.build
sys-libs/uclibc:userlocales - build only the locales specified in
/etc/locales.build

Thanks,
- --
Jeremy Olexa
([EMAIL PROTECTED])
Office: EE/CS 1-201
CS/IT Systems Staff
University of Minnesota

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEW1ErFN7pD9kMi/URAptjAJwLFRsnaKXbo/fI/Ep9yYZfnCMXLQCgi4GJ
23NXtCMBNvtHcVY6r3/gIDY=
=RG8n
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



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

2006-05-05 Thread Alexander Skwar
Farhan Ahmed wrote:
> Alexander Skwar wrote:
>> Sven Köhler wrote:
>> (snip)
>> 
>> > What might have been the last glibc-version with UTF-8 locales?
>> 
>> 2.3.6-r3 or 2.4-r1
> 
> No. Glibc-2.4-r1 used .utf8 locales.

That might be. Then I wonder, why I had no problems with .UTF-8
when I was using 2.4-r1. As I wrote, it might be, that my system
was misbehaving, as it accepted .UTF-8 just fine.

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



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

2006-05-05 Thread Farhan Ahmed
Alexander Skwar wrote:
> Sven Köhler wrote:
> (snip)
> 
> > What might have been the last glibc-version with UTF-8 locales?
> 
> 2.3.6-r3 or 2.4-r1

No. Glibc-2.4-r1 used .utf8 locales.. Just as an example of .utf8 usage
even before glibc-2.4 read this Gentoo Weekly NewsLetter:

  http://www.gentoo.org/news/en/gwn/20041108-newsletter.xml#doc_chap7

If you read it carefully you can see the Zulu locale for South Africa
being written as zu_ZA.utf8.. Even on my system with 2.4-r1 glibc the
locales were like en_US.utf8 and after upgrading to 2.4-r2 they are
still the same..

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


pgpF1mfKMwV7h.pgp
Description: PGP signature


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

2006-05-05 Thread Alexander Skwar
Farhan Ahmed wrote:
> Sven Köhler wrote:
>> (snip)
>> 
>> I also looked it up on a Redhat-System: no .UTF-8 locales.
>> 
>> 
>> What might have been the last glibc-version with UTF-8 locales?
>> (i don't remember to have seen that over the last few years)
> 
> I think some .UTF-8 locales were used uptil recently.

At least de_DE


> I read the "Using
> UTF-8 with Gentoo"
> 
>  http://www.gentoo.org/doc/en/utf-8.xml
> 
> and found out that they mentioned .UTF-8 only no mention of .utf8 !!! As
> far as I know glibc-2.4 uses .utf8 locales.

It now does, yes. It didn't used to.

> No idea when .UTF-8 was
> changed to .utf8

It was changed from 2.4-r1 to -r2 or 2.3.6-r3 to -r4.

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



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

2006-05-05 Thread Alexander Skwar
Sven Köhler wrote:
>> 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:
> 
> .UTF-8 changed from .utf8?

Yep.

> That's not true.

Wrong, it is.

> My glibc 2.3.6 (with userlocales turned off) never
> creates such locales.

There's no such flag as "userlocales".

> I also looked it up on a Redhat-System: no .UTF-8 locales.

Well.

> What might have been the last glibc-version with UTF-8 locales?

2.3.6-r3 or 2.4-r1

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



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

2006-05-05 Thread Farhan Ahmed
Sven Köhler wrote:
> (snip)
> 
> I also looked it up on a Redhat-System: no .UTF-8 locales.
> 
> 
> What might have been the last glibc-version with UTF-8 locales?
> (i don't remember to have seen that over the last few years)

I think some .UTF-8 locales were used uptil recently.. I read the "Using
UTF-8 with Gentoo"

 http://www.gentoo.org/doc/en/utf-8.xml

and found out that they mentioned .UTF-8 only no mention of .utf8 !!! As
far as I know glibc-2.4 uses .utf8 locales.. No idea when .UTF-8 was
changed to .utf8

Farhan Ahmed

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


pgpM0p1kuCgqm.pgp
Description: PGP signature


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

2006-05-05 Thread Sven Köhler
> 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:

.UTF-8 changed from .utf8?

That's not true. My glibc 2.3.6 (with userlocales turned off) never
creates such locales.


# equery f glibc|grep -i utf |grep CTYPE
/usr/lib/locale/aa_DJ.utf8/LC_CTYPE
/usr/lib/locale/af_ZA.utf8/LC_CTYPE
/usr/lib/locale/an_ES.utf8/LC_CTYPE
/usr/lib/locale/ar_AE.utf8/LC_CTYPE
/usr/lib/locale/ar_BH.utf8/LC_CTYPE
/usr/lib/locale/ar_DZ.utf8/LC_CTYPE
/usr/lib/locale/ar_EG.utf8/LC_CTYPE
/usr/lib/locale/ar_IQ.utf8/LC_CTYPE
/usr/lib/locale/ar_JO.utf8/LC_CTYPE
/usr/lib/locale/ar_KW.utf8/LC_CTYPE
/usr/lib/locale/ar_LB.utf8/LC_CTYPE
/usr/lib/locale/ar_LY.utf8/LC_CTYPE
/usr/lib/locale/ar_MA.utf8/LC_CTYPE
/usr/lib/locale/ar_OM.utf8/LC_CTYPE
/usr/lib/locale/ar_QA.utf8/LC_CTYPE
/usr/lib/locale/ar_SA.utf8/LC_CTYPE
/usr/lib/locale/ar_SD.utf8/LC_CTYPE
/usr/lib/locale/ar_SY.utf8/LC_CTYPE
/usr/lib/locale/ar_TN.utf8/LC_CTYPE
/usr/lib/locale/ar_YE.utf8/LC_CTYPE
/usr/lib/locale/az_AZ.utf8/LC_CTYPE
/usr/lib/locale/be_BY.utf8/LC_CTYPE
/usr/lib/locale/bg_BG.utf8/LC_CTYPE
/usr/lib/locale/br_FR.utf8/LC_CTYPE
/usr/lib/locale/bs_BA.utf8/LC_CTYPE
/usr/lib/locale/ca_ES.utf8/LC_CTYPE
/usr/lib/locale/cs_CZ.utf8/LC_CTYPE
/usr/lib/locale/cy_GB.utf8/LC_CTYPE
/usr/lib/locale/da_DK.utf8/LC_CTYPE
/usr/lib/locale/de_AT.utf8/LC_CTYPE
/usr/lib/locale/de_BE.utf8/LC_CTYPE
/usr/lib/locale/de_CH.utf8/LC_CTYPE
/usr/lib/locale/de_DE.utf8/LC_CTYPE
/usr/lib/locale/de_LU.utf8/LC_CTYPE
...

I also looked it up on a Redhat-System: no .UTF-8 locales.


What might have been the last glibc-version with UTF-8 locales?
(i don't remember to have seen that over the last few years)



signature.asc
Description: OpenPGP digital signature