Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81965 - KDE not setting LC_* properly
Summary: KDE not setting LC_* properly
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 108673 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-02-14 01:38 UTC by Michal Margula
Modified: 2005-10-10 02:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Margula 2005-02-14 01:38:22 UTC
It applies for 3.3.2-r1 on my box. When first starting KDE it asks for few things. One of them is my Language. I choose Polish. Then everything is in Polish, except two troubles:

- when creating on Desktop (or whenever else) a directory with polish characters, all of them are replaced with "?" marks (except "
Comment 1 Michal Margula 2005-02-14 01:38:22 UTC
It applies for 3.3.2-r1 on my box. When first starting KDE it asks for few things. One of them is my Language. I choose Polish. Then everything is in Polish, except two troubles:

- when creating on Desktop (or whenever else) a directory with polish characters, all of them are replaced with "?" marks (except "รณ")
- when trying to type polish characters in Konsole, same thing happens

After some "research" I found out it was using for those two things ISO8859-1 instead of expected ISO8859-2. My fix was to add LC_ALL=pl_PL to /etc/env.d/99something and env-update && source /etc/profile. After that everything was fine.

So my question is - shouldn't KDE set that environmental variable properly by itself? It may happend that on one BOX somebody may be using few languages.
Comment 2 Gregorio Guidi (RETIRED) gentoo-dev 2005-02-14 06:59:55 UTC
I'm not an expert on localization, but according to our localization guide
(http://www.gentoo.org/doc/en/guide-localization.xml), the correct behavior is
exactly to set the LC_* variables in a file such as /etc/env.d/02locale. kde
should run in an environment that has those variables already set.

See also: http://bugs.kde.org/show_bug.cgi?id=45256
Comment 3 Gregorio Guidi (RETIRED) gentoo-dev 2005-10-10 02:03:19 UTC
*** Bug 108673 has been marked as a duplicate of this bug. ***