Tirsdag 27 marts 2007 22:54 kvad Will Stephenson: > On Tuesday 27 March 2007 17:43:30 Johnny Ernst Nielsen wrote: > > Greetings, > > > > when kdesu launch an application, from where does it then take > > the LANG setting to pass on to the application? > > > > On my system it passes the wrong LANG setting, but I can not find > > where to set the right one. > > I don't know how the kdesu case works specifically but KDE_LANG is > the environment variable that tells an application which language > to use, if that is not set the language is read from > $HOME/.kde/share/config/kdeglobals, something like this: > > [Locale] > Language=en_GB:en_US > > You might want to run kcontrol with kdesu and set the other user's > language correctly too.
Thank you Will, but it seems I have not properly understood the language/charset stuff. The proplem is not the displayed language. It is in danish, as I expect. The problem is that the danish letters are all wrong in applications started through kdesu. (su from konsole has the same problem.) Everything I start with kdesu assumes ISO-8859-1 encoding. So both file names and file contents display the danish letters wrong, since they are UTF-8 encoded. Doing a real root login, from kdm, assumes the right encoding (UTF-8). Where do I tell kdesu to assume UTF-8 encoding for the applications it starts? Best regards :o) Johnny :o) -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]