Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
k3b locale charset problem: SOLVED
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
daark.child
n00b
n00b


Joined: 18 Mar 2006
Posts: 19
Location: UK

PostPosted: Fri Nov 24, 2006 7:27 pm    Post subject: k3b locale charset problem: SOLVED Reply with quote

I've just upgraded to the 1.0 beta version of k3b and I get the following error
Code:
System locale charset is ANSI_X3.4-1968
Your system's locale charset (i.e. the charset used to encode filenames) is set to ANSI_X3.4-1968. It is highly unlikely that this has been done intentionally. Most likely the locale is not set at all. An invalid setting will result in problems when creating data projects.
Solution: To properly set the locale charset make sure the LC_* environment variables are set. Normally the distribution setup tools take care of this.


I am sure I setup my locales properly using the Gentoo installation guide and have the following
Code:
en_GB ISO-8859-1
en_GB ISO-8859-15
en_GB.UTF-8 UTF-8
en_ZW ISO-8859-1
en_ZW ISO-8859-15
en_ZW.UTF-8 UTF-8

in my /etc/locales.gen file.

Does anyone have a clue how to resolve this problem?


Last edited by daark.child on Fri Nov 24, 2006 8:47 pm; edited 1 time in total
Back to top
View user's profile Send private message
DocReedSolomon
Guru
Guru


Joined: 28 Aug 2006
Posts: 419

PostPosted: Fri Nov 24, 2006 7:40 pm    Post subject: Reply with quote

same here.
well, didnt burn anything yet, but i guess we can savely ignore this?
anyway, will use RW media next time, and see what happens.

locales like yours and lang = de (germany)
Back to top
View user's profile Send private message
daark.child
n00b
n00b


Joined: 18 Mar 2006
Posts: 19
Location: UK

PostPosted: Fri Nov 24, 2006 8:49 pm    Post subject: Reply with quote

I solved the problem. I put the code below in /etc/env.d/02locale
Code:

LC_ALL="en_GB@euro"
LANG="en_GB@euro"

after that I did "env-update". When I logged out of KDE and back in again, the error message does not show up when I start k3b.
Back to top
View user's profile Send private message
DocReedSolomon
Guru
Guru


Joined: 28 Aug 2006
Posts: 419

PostPosted: Sat Nov 25, 2006 12:03 pm    Post subject: Reply with quote

daark.child wrote:
I solved the problem. I put the code below in /etc/env.d/02locale

that one doesnt even exist here. should i create it?
Back to top
View user's profile Send private message
dj_farid
l33t
l33t


Joined: 14 Jun 2004
Posts: 613

PostPosted: Sun Nov 26, 2006 11:33 am    Post subject: Reply with quote

I have the same problem. Creating that file does not help.
Seems that I have some kind of problem with my locale settings some where. I have followed the wiki and the gentoo guide on how to set the locale.
Still I don't have that file.

Code:
$ 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=
LC_CTYPE="sv_SE.UTF-8 UTF-8"
LC_NUMERIC="sv_SE.UTF-8 UTF-8"
LC_TIME="sv_SE.UTF-8 UTF-8"
LC_COLLATE="sv_SE.UTF-8 UTF-8"
LC_MONETARY="sv_SE.UTF-8 UTF-8"
LC_MESSAGES="sv_SE.UTF-8 UTF-8"
LC_PAPER="sv_SE.UTF-8 UTF-8"
LC_NAME="sv_SE.UTF-8 UTF-8"
LC_ADDRESS="sv_SE.UTF-8 UTF-8"
LC_TELEPHONE="sv_SE.UTF-8 UTF-8"
LC_MEASUREMENT="sv_SE.UTF-8 UTF-8"
LC_IDENTIFICATION="sv_SE.UTF-8 UTF-8"
LC_ALL=sv_SE.UTF-8 UTF-8


I have this in /etc/locale.gen:
sv_SE.UTF-8 UTF-8
sv_SE ISO-8859-1

I have those locales compiled into the kernel.
Anyone know how to fix this?
Back to top
View user's profile Send private message
daark.child
n00b
n00b


Joined: 18 Mar 2006
Posts: 19
Location: UK

PostPosted: Wed Nov 29, 2006 10:07 am    Post subject: Reply with quote

DocReedSolomon wrote:
daark.child wrote:
I solved the problem. I put the code below in /etc/env.d/02locale

that one doesnt even exist here. should i create it?

I didn't have this file so I created it myself. I used this guide and it worked ok for me.
Back to top
View user's profile Send private message
coolsnowmen
Veteran
Veteran


Joined: 30 Jun 2004
Posts: 1479
Location: No.VA

PostPosted: Mon Jan 22, 2007 6:13 am    Post subject: Reply with quote

ooOO, thanks guys
Code:
LC_ALL="en_US"

fixed it...
_________________
emerge: there are no ebuilds to satisfy "moo"
Back to top
View user's profile Send private message
bhfh
n00b
n00b


Joined: 04 Feb 2006
Posts: 8
Location: South Africa

PostPosted: Wed Mar 21, 2007 5:20 pm    Post subject: Reply with quote

dj_farid wrote:
I have the same problem. Creating that file does not help.
Seems that I have some kind of problem with my locale settings some where. I have followed the wiki and the gentoo guide on how to set the locale.
Still I don't have that file.

Code:
$ 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=
LC_CTYPE="sv_SE.UTF-8 UTF-8"
LC_NUMERIC="sv_SE.UTF-8 UTF-8"
LC_TIME="sv_SE.UTF-8 UTF-8"
LC_COLLATE="sv_SE.UTF-8 UTF-8"
LC_MONETARY="sv_SE.UTF-8 UTF-8"
LC_MESSAGES="sv_SE.UTF-8 UTF-8"
LC_PAPER="sv_SE.UTF-8 UTF-8"
LC_NAME="sv_SE.UTF-8 UTF-8"
LC_ADDRESS="sv_SE.UTF-8 UTF-8"
LC_TELEPHONE="sv_SE.UTF-8 UTF-8"
LC_MEASUREMENT="sv_SE.UTF-8 UTF-8"
LC_IDENTIFICATION="sv_SE.UTF-8 UTF-8"
LC_ALL=sv_SE.UTF-8 UTF-8


I have this in /etc/locale.gen:
sv_SE.UTF-8 UTF-8
sv_SE ISO-8859-1

I have those locales compiled into the kernel.
Anyone know how to fix this?


In case your problem has not been solved already:

After you've edited /etc/locale.gen, you must run /usr/sbin/locale-gen to generate your locales.
After that, you must make sure you've got the following lines in /etc/env.d/02locale (if you don't have it, create it):
Code:
LC_ALL="sv_SE@euro"
LANG="sv_SE@euro"
Back to top
View user's profile Send private message
bhfh
n00b
n00b


Joined: 04 Feb 2006
Posts: 8
Location: South Africa

PostPosted: Wed Mar 21, 2007 5:24 pm    Post subject: Reply with quote

dj_farid wrote:
Creating that file does not help.

Sorrry, also remember to run /usr/sbin/env-update after changing anything en /etc/env.d/. :oops:
Back to top
View user's profile Send private message
donjames
Apprentice
Apprentice


Joined: 19 Dec 2004
Posts: 251
Location: 32°9'50" N 94°50'54" W

PostPosted: Thu Mar 06, 2008 8:56 pm    Post subject: creating that file does not help Reply with quote

creating that file does not help.

Sincerely,

Don James
Back to top
View user's profile Send private message
Uncle_Psychosis
Guru
Guru


Joined: 31 Jan 2004
Posts: 387

PostPosted: Sat Mar 08, 2008 3:18 pm    Post subject: Reply with quote

I followed the Gentoo locale guide:

http://www.gentoo.org/doc/en/guide-localization.xml?style=printable

One point; I had to reboot in order to get it to work. Simply restarting the x-server as the guide says did *not* work.
Back to top
View user's profile Send private message
muhsinzubeir
l33t
l33t


Joined: 29 Sep 2007
Posts: 948
Location: /home/muhsin

PostPosted: Sun Mar 16, 2008 12:13 pm    Post subject: Reply with quote

Quote:


ooOO, thanks guys
Code:
LC_ALL="en_US"

fixed it...


I solved mine but after reboot...env-update && logout was not enough....
_________________
~x86
p5k-se
Intel Core 2 Duo
Nvidia GT200
http://www.zanbytes.com
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum