Re: UTF8 an KDE in debian sid?

2004-09-28 Thread Hendrik Sattler
Am Dienstag, 28. September 2004 15:47 schrieb Jan-Hendrik Palic:
> $cat .kde/env/locale.sh
> export LANG="de_DE.UTF-8"
> export LC_CTYPE="de_DE.UTF-8"
> export LC_ALL="de_DE.UTF-8"
> export LC_MESSAGES="en_GB.UTF-8"

Those settings are non-sense:
LC_ALL overwrites LC_MESSAGES
LC_CTYPE is already defined by LANG
LC_COLLATE better be "C"

Thus:
export LANG="de_DE.UTF-8"
export LC_COLLATE="C"
export LC_MESSAGES="en_GB.UTF-8"

Verify those values with "locale". If you have a @euro locale, you should use 
it (defines correct currency).
Maybe leave LC_MESSAGES undefined for testing and see if that enables the 
german umlauts.

HS

-- 
Mein GPG-Key ist auf meiner Homepage verfügbar: http://www.hendrik-sattler.de
oder über pgp.net

PingoS - Linux-User helfen Schulen: http://www.pingos.org


pgpIfyW7l7C4g.pgp
Description: signature


Re: UTF8 an KDE in debian sid?

2004-09-28 Thread Jan-Hendrik Palic
Hi ...

I played around with ~/.kde/env to solve my locale-utf8-kde3.3 problem.

my situation is, that I have locale.sh in ~/.kde/env with the following 
content:

$cat .kde/env/locale.sh  
export LANG="de_DE.UTF-8"
export LC_CTYPE="de_DE.UTF-8"
export LC_ALL="de_DE.UTF-8"
export LC_MESSAGES="en_GB.UTF-8"

The result is, that I have German-Umlauts in uxterm but not in KDE 
itsself.

I changed my locale-gen to 
$cat /etc/locale.gen 
de_DE.UTF-8 UTF-8
[EMAIL PROTECTED] UTF-8
en_GB.UTF-8 UTF-8

and have following in ~/.profile
[EMAIL PROTECTED]; export LANG
[EMAIL PROTECTED]; export LC_ALL
LC_CTYPE="[EMAIL PROTECTED]" ; export LC_CTYPE
LC_MESSAGES="en_GB.UTF-8" ; export LC_MESSAGES

The result is, that I do not have utf8 support in KDE-apps, if they will 
start from uxterm at all. I played around with gdm and kdm and startet 
my KDE-session manually, but this doesn't help.

Any suggestions?


 Regards

Jan





Re: UTF8 an KDE in debian sid?

2004-09-25 Thread Matías Costa
El Viernes, 24 de Septiembre de 2004 14:06, Jan-Hendrik Palic escribió:
>  /home/$USER/.profile
> [EMAIL PROTECTED]; export LANG
> [EMAIL PROTECTED]; export LC_ALL
> LC_CTYPE="[EMAIL PROTECTED]" ; export LC_CTYPE
> LC_MESSAGES="en_GB.UTF-8" ; export LC_MESSAGES
>
> In KDM I cannot choose my character-encoding thus it is able in gdm.
>
profile files are sourced only by kdm 3.3. May be is that




Re: UTF8 an KDE in debian sid?

2004-09-25 Thread Thomas Rebien
On Saturday 25 September 2004 12:58, Jan-Hendrik Palic wrote:
> Hoi ...
>
> On Freitag, 24. September 2004 14:25 wrote Thomas Rebien:
> > I don't know if this is the best way but i enabled utf-8 by setting
> > LANG and the other exports in a small script which gets sourced on
> > kde startup.
> >
> > ~$ cat .kde/env/locales.sh
> > export LANG="de_DE.UTF-8"
> > export LC_CTYPE="de_DE.UTF-8"
> > export LC_ALL="de_DE.UTF-8"
>
> Sorry about my stupid question, but where do you source it? I am not
> familiar with KDE yet, so I did not found the right place to source it.

It gets sourced automatically by the startkde script. Just put your script in 
your ~/.kde/env/ directory

Thomas


pgpQxZ88EHot7.pgp
Description: PGP signature


Re: UTF8 an KDE in debian sid?

2004-09-25 Thread Jan-Hendrik Palic
Hoi ...

On Freitag, 24. September 2004 14:25 wrote Thomas Rebien:

> I don't know if this is the best way but i enabled utf-8 by setting
> LANG and the other exports in a small script which gets sourced on
> kde startup.
>
> ~$ cat .kde/env/locales.sh
> export LANG="de_DE.UTF-8"
> export LC_CTYPE="de_DE.UTF-8"
> export LC_ALL="de_DE.UTF-8"

Sorry about my stupid question, but where do you source it? I am not 
familiar with KDE yet, so I did not found the right place to source it.


  Thnx
Jan




Re: UTF8 an KDE in debian sid?

2004-09-24 Thread Thomas Rebien
On Friday 24 September 2004 14:06, Jan-Hendrik Palic wrote:
> I am a bit confused about the utf8 support of KDE 3.3 in Sid.

>  /home/$USER/.profile
> [EMAIL PROTECTED]; export LANG
> [EMAIL PROTECTED]; export LC_ALL
> LC_CTYPE="[EMAIL PROTECTED]" ; export LC_CTYPE
> LC_MESSAGES="en_GB.UTF-8" ; export LC_MESSAGES

> Is there a global "enable-UTF8-Button" in Kontrol-Center I missed?

I don't know if this is the best way but i enabled utf-8 by setting LANG 
and the other exports in a small script which gets sourced on kde 
startup.

~$ cat .kde/env/locales.sh 
export LANG="de_DE.UTF-8"
export LC_CTYPE="de_DE.UTF-8"
export LC_ALL="de_DE.UTF-8"

Hope this helps,

Thomas


pgpoQ2RhLm6c3.pgp
Description: PGP signature


UTF8 an KDE in debian sid?

2004-09-24 Thread Jan-Hendrik Palic
Hi all,

I am a bit confused about the utf8 support of KDE 3.3 in Sid.
I was a GNOME user befor switching to KDE fa few weeks ago and in gdm I 
was able to choose [EMAIL PROTECTED] and got a full utf8 enabled GNOME-Desktop.

Just I am using KDE and happy but I have only utf8 enabled Apps, if I 
start them from the uxterm. When I start my apps from kicker or menu, 
they do not have utf8 support.

I have utf8 enabled in 

 /etc/locale.gen
de_DE.UTF-8 UTF-8
[EMAIL PROTECTED] UTF-8
[EMAIL PROTECTED] ISO-8859-15
en_GB ISO-8859-1
en_GB.ISO-8859-15 ISO-8859-15
en_GB.UTF-8 UTF-8
de_DE ISO-8859-1

 /etc/enviroment
[EMAIL PROTECTED]


 /home/$USER/.profile
[EMAIL PROTECTED]; export LANG
[EMAIL PROTECTED]; export LC_ALL
LC_CTYPE="[EMAIL PROTECTED]" ; export LC_CTYPE
LC_MESSAGES="en_GB.UTF-8" ; export LC_MESSAGES

In KDM I cannot choose my character-encoding thus it is able in gdm.

Start my KDE from gdm is not es solution.

Is there a global "enable-UTF8-Button" in Kontrol-Center I missed?


  Thnx for your help?

Jan