You are not logged in.

#1 2006-09-01 18:39:42

ndlarsen
Member
From: Denmark
Registered: 2005-11-02
Posts: 157

locale issue [Solved]

Hey.

As I wanted to try out pypanel I eventually got stuck on an issue with my locale settings. Output from 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=en_DK.UFT-8
LC_CTYPE="en_DK.UFT-8"
LC_NUMERIC="en_DK.UFT-8"
LC_TIME="en_DK.UFT-8"
LC_COLLATE=C
LC_MONETARY="en_DK.UFT-8"
LC_MESSAGES="en_DK.UFT-8"
LC_PAPER="en_DK.UFT-8"
LC_NAME="en_DK.UFT-8"
LC_ADDRESS="en_DK.UFT-8"
LC_TELEPHONE="en_DK.UFT-8"
LC_MEASUREMENT="en_DK.UFT-8"
LC_IDENTIFICATION="en_DK.UFT-8"
LC_ALL=

Now, locale in rc.conf is set to en_DK.UFT-8 as well as in locale.gen and locale-gen has been run. In another thread in the forums I saw someone was adviced to reinstall glibc, I've done this as well without any luck. I am bit in over my head here and haven't got a clue about neither how to solve this nor about what is causing it. Any help would be greatly appreciated.

Regards.


I made it long
as I lacked the time to make it short...

Offline

#2 2006-09-01 18:53:20

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,911
Website

Re: locale issue [Solved]


Mr Green

Offline

#3 2006-09-01 18:57:16

ndlarsen
Member
From: Denmark
Registered: 2005-11-02
Posts: 157

Re: locale issue [Solved]

Cheers. How would the correct entry in rc.conf for both locales look then?


I made it long
as I lacked the time to make it short...

Offline

#4 2006-09-01 19:02:18

ingvildr
Member
From: Brighton, England
Registered: 2005-04-19
Posts: 203

Re: locale issue [Solved]

shouldn't it be utf and not uft.

Offline

#5 2006-09-01 19:16:56

ndlarsen
Member
From: Denmark
Registered: 2005-11-02
Posts: 157

Re: locale issue [Solved]

ingvildr wrote:

shouldn't it be utf and not uft.

God, I'm a nubstick. :oops: Either that or I've been looking at it for too long to see it. Aye, there was a typo in rc.conf. Cheers, mate.


I made it long
as I lacked the time to make it short...

Offline

#6 2006-09-01 21:24:35

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: locale issue [Solved]

ndlarsen wrote:

Cheers. How would the correct entry in rc.conf for both locales look then?

I believe it should be the same as doing locale -a after setting your locale with locale-gen.

Offline

#7 2006-09-03 19:27:08

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: locale issue [Solved]

not if your norwegian: i get nb_NO.utf8 as output from locale -a but have to set nb_NO.UTF-8 in rc.conf to get apps to work correctly and not spew errors/warnings.


KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

#8 2006-09-05 01:09:56

ndlarsen
Member
From: Denmark
Registered: 2005-11-02
Posts: 157

Re: locale issue [Solved]

Cheers.


I made it long
as I lacked the time to make it short...

Offline

Board footer

Powered by FluxBB