Version: 3.4.1 (using KDE KDE 3.4.2) Installed from: SuSE RPMs OS: Linux Kompare doesnt show utf-8 encoded files correctly. Two-byte Czech characters are shown as garbage (usually as a character followed by a square).
Nazdar Jakube (isn't it strange, that two Czechs are meeting on this issue :-)), the problem IMHO is that kompare somehow doesn't recognize UTF-8 as such, but tries to interpret it as plain 8bit charset. I can say that I have exactly the same problem with the same version of kompare (from KDE 3.4.1) under Debian/etch (packages from alioth.debian.org).
under Suse 9.1 Prof. is all ok. ab Suse 9.2 is this Problem. I go to 9.1 and copie the kompare binary in my Suse 10.0 /opt/kde3/bin directory.
This is a duplicate for bug 95054. Maybe it will get fixed this time
Created attachment 20753 [details] Avoid overwriting the selected charset (encoding) I think this patch can resolve following listed bugs 39108, 95054, 112729, 123683, 131280. This patch avoids kompare to overwrite the charset (encoding) selected in the file open dialog with the default charset defined by operating system. Hopefully, Jan
This is fixed in trunk for KDE4 and the KDE 3.5 branch.
Sorta... You still have to pick UTF-8 manually even in a UTF-8 locale, the default should be UTF-8.
Sorry, a little aggressive with the closing bugs there! will try and find a fix for that too.
*** Bug 123683 has been marked as a duplicate of this bug. ***
SVN commit 750428 by kkofler: Default to locale encoding. BUG: 112729 M +11 -4 komparemodellist.cpp M +15 -6 kompareprocess.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=750428
SVN commit 750429 by kkofler: Default to locale encoding. CCBUG: 112729 (backport rev 112729 from trunk) M +14 -5 komparemodellist.cpp M +15 -6 kompareprocess.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=750429
Darn, I wrote the bug number instead of the revision number. Sorry. Too bad commit messages aren't editable.