You are not logged in.

#1 2007-09-27 16:48:59

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,730
Website

K3B and locales [SOLVED]

I have set my locale from a long way back and have never had problems with it.
Recently K3B began to complain with:

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 decided to check my locale setting and was greeted with:  roll

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_CA.utf8
LC_CTYPE="en_CA ISO-8859-1"
LC_NUMERIC="en_CA ISO-8859-1"
LC_TIME="en_CA ISO-8859-1"
LC_COLLATE="en_CA ISO-8859-1"
LC_MONETARY="en_CA ISO-8859-1"
LC_MESSAGES="en_CA ISO-8859-1"
LC_PAPER="en_CA ISO-8859-1"
LC_NAME="en_CA ISO-8859-1"
LC_ADDRESS="en_CA ISO-8859-1"
LC_TELEPHONE="en_CA ISO-8859-1"
LC_MEASUREMENT="en_CA ISO-8859-1"
LC_IDENTIFICATION="en_CA ISO-8859-1"
LC_ALL=en_CA ISO-8859-1

Now it seems there IS a problem so I re-checked  and re-built the locale settings ... but no joy.
Any ideas out there? Am I missing something?

Thanks in advance.

Last edited by ralvez (2007-09-28 21:22:48)

Offline

#2 2007-09-27 18:12:38

tlaloc
Member
From: Lower Saxony
Registered: 2006-05-12
Posts: 359

Re: K3B and locales [SOLVED]

I am not sure about the situation in Canada, but why do you use ANSI rather than UTF8 (which may fix that for you - or not smile)?

Offline

#3 2007-09-27 22:29:20

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,730
Website

Re: K3B and locales [SOLVED]

Well, in my /etc/rc.conf I have LOCALE="en_CA.utf8" and I've enabled both (en_CA.utf8 and en_CA ISO-8859-1 ) in my /etc/locale.gen. But in home office machine I get no complain but in my office (outside of home) I get the issue.
What confuses me is that I set them both ( or so I thought roll)  the same.

Now, as to why I use that setting is most to do with a "backwards" compatibility for programs that may not be 100% compatible with UTF8. I also do a fair amount of web development and UTF8 is not always understood by all browsers and then you get funny characters on the screen of those clients that do not read well UTF8 but if you are compliant you do not know that they have the problem until it happens and I hate to re-code work well done because of such minor thing, so I use both. hmm

R.

Offline

#4 2007-09-28 05:52:44

jinn
Member
From: Gothenburg
Registered: 2005-12-10
Posts: 506

Re: K3B and locales [SOLVED]

I get the same problem and I have tried any possible solution.. it only works when I run k3b from a terminal but not from the kde menu.


The ultimate Archlinux release name: "I am your father"

Offline

#5 2007-09-28 21:21:50

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,730
Website

Re: K3B and locales [SOLVED]

OK. I fixed it.
I made the whole thing UTF-8 but I set the HTML Editor (Quanta) to ISO so all works well.

R

Offline

Board footer

Powered by FluxBB