"Matthias Seeger" <matthias.seeger@gol.com> さんは書きました:
I have used SuSE 9.0 since October 2003 on my Thinkpad X30. The KDE Environment runs completely in UTF-8 so that I may use Japanese as well as German (Umlaute). My user account ist completely German.
After the usual settings I can use Kinput2 with Canna in almost all applications (Konqueror, OpenOffice, Mozilla Firebird, KMail, GJiten etc.)
I am now facing the problem, that Konqueror suddenly refuses to show Umlaute, no matter which page encoding is set. Even on the start page there are small dots instead of Umlaute.
[...]
Such a sudden behaviour change happened already several times, both on my Thinkpad as well as on my desktop computer. Each time I was checking the user settings and the settings in the KDE Control Centre but could not find any difference. So far I could fix the problem only by creating a completely new user account.
OK, I think I know what is happening. Apparently a strange KDE bug. The difference if you create a new user account is that ~/.kde/share/config/konquerorrc doesn't yet exist. You will probably be able to confirm that after deleting ~/.kde/share/config/konquerorrc it works again on one of your old user accounts. When you start your konqueror and ~/.kde/share/config/konquerorrc does not exist, open the font setting dialog of konqueror and you will see that the Japanese fonts "Kochi Gothic" and "Kochi Mincho" are set. *But*, for some strange reason these settings are not yet active, other fonts are used, which work. As soon as you change *anything* in the setup and click on "Apply", the settings (including these font settings) become active and the Umlauts disappear because these Japanese fonts unfortunately don't have Umlauts and Qt apparently doesn't realize that these fonts are unsuitable for Latin1 text (Qt bug). Now these settings are also saved to ~/.kde/share/config/konquerorrc, which means that you have the same broken settings when you start konqueror again. Solution: ========= Set up other fonts in the konqueror settings, for example "Nimbus Sans L" or "Luxi Sans" instead of "Kochi Gothic" and "Nimbus Roman No9 L" or "Luxi Serif" instead of "Kochi Mincho". Then Qt will use these fonts for Latin1. Qt will correctly recognize that these fonts are not suitable for Japanese and will fallback to other fonts for Japanese according to the rules in /etc/X11/qtrc or ~/.qt/qtrc respectively. In the SuSE default settings in /etc/X11/qtrc, "Kochi Mincho" is the first replacement for the serif European fonts and "Kochi Gothic" is the first replacement for the sans-serif European fonts mentioned above. Therefore, "Kochi Gothic" and "Kochi Mincho" will still be used for Japanese and you will see both German and Japanese correctly. Some more explanation about the Qt font substitutions is here: http://www.suse.de/~mfabian/suse-cjk/kde-font-setup.html -- Mike FABIAN <mfabian@suse.de> http://www.suse.de/~mfabian 睡眠不足はいい仕事の敵だ。