public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Problems with locale - ANSI_X3.4-1968
@ 2006-06-30 19:17 Kristian Poul Herkild
  2006-06-30 23:15 ` Bo Ørsted Andresen
  0 siblings, 1 reply; 7+ messages in thread
From: Kristian Poul Herkild @ 2006-06-30 19:17 UTC (permalink / raw
  To: gentoo-user

My locale is supposed to be da_DK.ut8 but is reported to be ANSI_X3.4-1968

The problems started after having updated to Gnome 2.14 and baselayout.
Before that it worked fine.

Anybody familiar with this problem with UTF8 and ANSI_X3.4-1968?

-Kristian Poul Herkild
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Problems with locale - ANSI_X3.4-1968
  2006-06-30 19:17 [gentoo-user] Problems with locale - ANSI_X3.4-1968 Kristian Poul Herkild
@ 2006-06-30 23:15 ` Bo Ørsted Andresen
  2006-07-01  0:14   ` Kristian Poul Herkild
  0 siblings, 1 reply; 7+ messages in thread
From: Bo Ørsted Andresen @ 2006-06-30 23:15 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 527 bytes --]

On Friday 30 June 2006 21:17, Kristian Poul Herkild wrote:
> My locale is supposed to be da_DK.ut8 but is reported to be ANSI_X3.4-1968
>
> The problems started after having updated to Gnome 2.14 and baselayout.
> Before that it worked fine.
>
> Anybody familiar with this problem with UTF8 and ANSI_X3.4-1968?

What version of glibc are you using? Also please post the output of the 
following commands:

locale -a
locale
grep -v '^$\|^#' /etc/locale.gen
grep -v '^$\|^#' /etc/locales.build

-- 
Bo Andresen

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Problems with locale - ANSI_X3.4-1968
  2006-06-30 23:15 ` Bo Ørsted Andresen
@ 2006-07-01  0:14   ` Kristian Poul Herkild
  2006-07-01  0:35     ` Bo Ørsted Andresen
  0 siblings, 1 reply; 7+ messages in thread
From: Kristian Poul Herkild @ 2006-07-01  0:14 UTC (permalink / raw
  To: gentoo-user

Bo Ørsted Andresen wrote:
> On Friday 30 June 2006 21:17, Kristian Poul Herkild wrote:
>> My locale is supposed to be da_DK.ut8 but is reported to be ANSI_X3.4-1968
>>
>> The problems started after having updated to Gnome 2.14 and baselayout.
>> Before that it worked fine.
>>
>> Anybody familiar with this problem with UTF8 and ANSI_X3.4-1968?
> 
> What version of glibc are you using? Also please post the output of the 
> following commands:
> 
> locale -a
> locale
> grep -v '^$\|^#' /etc/locale.gen
> grep -v '^$\|^#' /etc/locales.build
> 

glibc version is: 2.3.6-r4

Output of 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
da_DK.utf8

Output of locale:
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_ALL to default locale: No such file or directory
LANG=da_DK.UTF8
LC_CTYPE="da_DK.UTF8"
LC_NUMERIC="da_DK.UTF8"
LC_TIME="da_DK.UTF8"
LC_COLLATE="da_DK.UTF8"
LC_MONETARY="da_DK.UTF8"
LC_MESSAGES="da_DK.UTF8"
LC_PAPER="da_DK.UTF8"
LC_NAME="da_DK.UTF8"
LC_ADDRESS="da_DK.UTF8"
LC_TELEPHONE="da_DK.UTF8"
LC_MEASUREMENT="da_DK.UTF8"
LC_IDENTIFICATION="da_DK.UTF8"
LC_ALL=da_DK.UTF8

Output of grep -v '^$\|^#' /etc/locale.gen
da_DK.UTF-8 UTF8

Output of grep -v '^$\|^#' /etc/locales.build
da_DK.UTF8/UTF8

-Kristian
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Problems with locale - ANSI_X3.4-1968
  2006-07-01  0:14   ` Kristian Poul Herkild
@ 2006-07-01  0:35     ` Bo Ørsted Andresen
  2006-07-01  1:20       ` Kristian Poul Herkild
  0 siblings, 1 reply; 7+ messages in thread
From: Bo Ørsted Andresen @ 2006-07-01  0:35 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 960 bytes --]

On Saturday 01 July 2006 02:14, Kristian Poul Herkild wrote:
> glibc version is: 2.3.6-r4
>
> Output of 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

So there is obviously something wrong with your locale.

> Output of grep -v '^$\|^#' /etc/locale.gen
> da_DK.UTF-8 UTF8

At least on my computer (running glibc-2.4-r1) that must be:

# grep da_DK.UTF /etc/locale.gen
da_DK.UTF-8 UTF-8

Note the dash in the second UTF-8. Without it I get errors resulting in a bad 
locale.

> Output of grep -v '^$\|^#' /etc/locales.build
> da_DK.UTF8/UTF8

Just delete /etc/locales.build. /etc/locale.gen is replacing it. Then run:

# locale-gen

after making the above change to /etc/locale.gen and see if that solves 
anything.

-- 
Bo Andresen

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Problems with locale - ANSI_X3.4-1968
  2006-07-01  0:35     ` Bo Ørsted Andresen
@ 2006-07-01  1:20       ` Kristian Poul Herkild
  2006-07-01  8:00         ` Bo Ørsted Andresen
  0 siblings, 1 reply; 7+ messages in thread
From: Kristian Poul Herkild @ 2006-07-01  1:20 UTC (permalink / raw
  To: gentoo-user

Bo Ørsted Andresen wrote:
> On Saturday 01 July 2006 02:14, Kristian Poul Herkild wrote:
>> glibc version is: 2.3.6-r4
>>
>> Output of 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
> 
> So there is obviously something wrong with your locale.
> 
>> Output of grep -v '^$\|^#' /etc/locale.gen
>> da_DK.UTF-8 UTF8
> 
> At least on my computer (running glibc-2.4-r1) that must be:
> 
> # grep da_DK.UTF /etc/locale.gen
> da_DK.UTF-8 UTF-8
> 
> Note the dash in the second UTF-8. Without it I get errors resulting in a bad 
> locale.
> 
>> Output of grep -v '^$\|^#' /etc/locales.build
>> da_DK.UTF8/UTF8
> 
> Just delete /etc/locales.build. /etc/locale.gen is replacing it. Then run:
> 
> # locale-gen
> 
> after making the above change to /etc/locale.gen and see if that solves 
> anything.
> 

Yup, it worked.

I still wonder how I managed to forget the dash in UTF-8 considering how
familiar I am with that particular locale. I must have been mentally
sleeping after having updated the baselayout. The funny part is that I
cannot even remember having touched it at all in 2006. My memory must be
detoriating ;)

But thanks for the help. Things work fine again :D

-Kristian
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Problems with locale - ANSI_X3.4-1968
  2006-07-01  1:20       ` Kristian Poul Herkild
@ 2006-07-01  8:00         ` Bo Ørsted Andresen
  2006-07-01 11:14           ` Benno Schulenberg
  0 siblings, 1 reply; 7+ messages in thread
From: Bo Ørsted Andresen @ 2006-07-01  8:00 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 659 bytes --]

On Saturday 01 July 2006 03:20, Kristian Poul Herkild wrote:
> I still wonder how I managed to forget the dash in UTF-8 considering how
> familiar I am with that particular locale.

I think it didn't matter with the old system that was 
using /etc/locales.build.

> I must have been mentally 
> sleeping after having updated the baselayout. The funny part is that I
> cannot even remember having touched it at all in 2006. My memory must be
> detoriating ;)

AFAIK for the migration period locale-gen is able to use /etc/locales.build to 
generate /etc/locale.gen. So I think it is quite possible that you didn't 
touch it.

-- 
Bo Andresen

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Problems with locale - ANSI_X3.4-1968
  2006-07-01  8:00         ` Bo Ørsted Andresen
@ 2006-07-01 11:14           ` Benno Schulenberg
  0 siblings, 0 replies; 7+ messages in thread
From: Benno Schulenberg @ 2006-07-01 11:14 UTC (permalink / raw
  To: gentoo-user

Bo Ørsted Andresen wrote:
> On Saturday 01 July 2006 03:20, Kristian Poul Herkild wrote:
> > I still wonder how I managed to forget the dash in UTF-8
> > considering how familiar I am with that particular locale.
>
> I think it didn't matter with the old system that was
> using /etc/locales.build.

Where it also doesn't matter is in the name of the locale.  For 
example here in /etc/locale.gen:

en_GB.utf8      UTF-8
nl_NL.utf8      UTF-8

Benno
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-07-01 11:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-30 19:17 [gentoo-user] Problems with locale - ANSI_X3.4-1968 Kristian Poul Herkild
2006-06-30 23:15 ` Bo Ørsted Andresen
2006-07-01  0:14   ` Kristian Poul Herkild
2006-07-01  0:35     ` Bo Ørsted Andresen
2006-07-01  1:20       ` Kristian Poul Herkild
2006-07-01  8:00         ` Bo Ørsted Andresen
2006-07-01 11:14           ` Benno Schulenberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox