kubuntu-kde3.5-users@lists.pearsoncomputing.net

Message: previous - next
Month: May 2009

Re: [kubuntu-kde3.5-users] Character encoding

From: Stefan Endrullis <stefan@...>
Date: Mon, 25 May 2009 19:30:38 +0200
Jochen Vortkamp schrieb:
>>>> Hallo.
>>>>
>>>> I have a Problem with the Character encoding in KDE3.5. I am from
>> germany
>>>> and we have some nice Letters like ä,ö,ü ...
>>>> When i go to tty1 with "ctrl+alt+1" and "mkdir testäordner" jump back
>>>> into KDE an look in my home Directory, the new Directory is written
>> like this:
>>>> "testäordner".
>>>> I hope someone can help me.
>>>>
>>>> Jochen Vortkamp 
>>> P.S In the console under tty1 the Directory in written right
>> "testäordner"
>>
>> I'm also from Germany and once I had the same problem. I think this has
>> something
>> to do with your locale settings. Run
>>   locale
>> in your tty1 and do the same in a console in KDE. Then compare the results
>> and you
>> should see a difference I think. For example, "LANG=de_DE.UTF-8" in tty1
>> and
>> "LANG=de_DE.ISO-****" in KDE.
>>
>> Stefan
> 
> 
> you are right. In tty1 it is "LANG=de_DE.UTF-8" and in the KDE console i got this:
> 
> jochen@jochen-laptop:~$ locale
> LANG=
> LC_CTYPE="POSIX"
> LC_NUMERIC="POSIX"
> LC_TIME="POSIX"
> LC_COLLATE="POSIX"
> LC_MONETARY="POSIX"
> LC_MESSAGES="POSIX"
> LC_PAPER="POSIX"
> LC_NAME="POSIX"
> LC_ADDRESS="POSIX"
> LC_TELEPHONE="POSIX"
> LC_MEASUREMENT="POSIX"
> LC_IDENTIFICATION="POSIX"
> LC_ALL=
> 
> 
> how to fix it in KDE?
> 
> 
> Jochen Vortkamp
> 

That's interesting. I would have expected the other way around.

Either your LANG variable is not set globally and KDE does not know it
or KDE resets the variable.

To prevent the first situation I always set the LANG variable in /etc/environment like this:
LANG=de_DE.UTF-8

If the problem still remains I'm not sure what to do. I know that you can set KDE's default language via kcontrol under
"Regionaleinstellungen & ..."->"Land, Region & Sprache". But I'm unsure if this option also affects "LANG".

Good luck!

Stefan Endrullis