Bugzilla – Bug 112774
kdm does not know that we live in utf-8
Last modified: 2005-09-12 10:31:07 UTC
If keyboard is german, typing umlaut characters produces non-printable two-byte characters in kdm. this is a bug in /etc/init.d/xdm, where the language is not initialized properly. Adding test -e /etc/profile.d/lang.sh && . /etc/profile.d/lang.sh helps.
Created attachment 47443 [details] fixed version of /etc/init.d/xdm sourceing lang.sh is silly. The code around $locale_vars below does almost what is needed. It just needs to be correct code...
not quite. kdm needs LANG=POSIX and LC_CTYPE=de_DE.UTF-8 the /etc/init.d/xdm from comment#1 does LANG=de_DE.UTF-8 and LC_CTYPE=de_DE.UTF-8, which apparently does not switch to UTF-8 mode, as it prodices the same symptoms as setting everything to POSIX.
In this case kdm is simply broken.
One major problem is that /etc/opt/kde3/share/config/kdeglobals written by SuSEconfig overwrites the locale. I now use the line test -n "$LANG" && export KDE_LANG=$LANG in /etc/init.d/xdm ... please test the next attachment.
Created attachment 47489 [details] /etc/init.d/xdm New version of /etc/init.d/xdm which uses KDE_LANG
Just test this, and it _is_ a KDM/KDE bug. The LANG variable _must_ set to POSIX even if LC_CTYPE is set to an UTF-8 encoding. The variable KDE_LANG does not work with kdm.
I've put a fixed /etc/init.d/xdm into aaa_base.
Fix the kdm
it's no kdm problem, but a config problem - and is fixed now. New kdebase3-SuSE is in done/STABLE
Maybe has to do with bug #116316 ?
Jan> Maybe has to do with bug #116316 ? No.