Bug#316258: kate: Kate opens documents with wrong encoding
Followup-For: Bug #316258
Package: kate
Version: 4:3.5.3-2
*** Please type your report below this line ***
Hi,
I am not the original bug reporter but I think I have a similar problem.
General problem: I open an UTF-8 file and kate displays it. Non-ascii
characters are displayed as a sequence of totally different characters.
Then I go to the menu Tools->Encoding.
I see that 'Western European (iso 8859-1)' is ticked. I select 'Unicode
(utf8)' and after that most of the characters are displayed correctly (I
think the exceptions are those for which there is no font installed.)
This happens e.g. with all the .desktop coming with KDE, for example
/usr/share/applications/kde/kate.desktop
The same happens for XML files, which are correctly recognized as XML files
(as is visible due to coloring of the file) but not the encoding.
I expect kate to autodetect UTF-8 encoding since false positives are rare.
Best wishes,
Gabor Braun
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (650, 'testing'), (600, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.15-1-686
Locale: LANG=hu_HU.iso88592, LC_CTYPE=hu_HU.iso88592 (charmap=ISO-8859-2)
(ignored: LC_ALL set to hu_HU.iso88592)
Versions of packages kate depends on:
ii kdelibs4c2a 4:3.5.3-1 core libraries and binaries for
al
ii libacl1 2.2.23-1 Access control list shared
library
ii libart-2.0-2 2.3.17-1 Library of functions for 2D
graphi
ii libattr1 2.4.16-1 Extended attribute shared library
ii libaudio2 1.7-2 The Network Audio System (NAS).
(s
ii libc6 2.3.6-15 GNU C Library: Shared libraries
ii libfam0c102 [libfam0] 2.7.0-6sarge1 client library to control the FAM
ii libfontconfig1 2.3.1-2 generic font configuration
library
ii libfreetype6 2.2.1-2 FreeType 2 font engine, shared
lib
ii libgcc1 1:4.1.1-5 GCC support library
ii libice6 1:1.0.0-3 X11 Inter-Client Exchange library
ii libidn11 0.6.3-1 GNU libidn library,
implementation
ii libjpeg62 6b-10 The Independent JPEG Group's JPEG
ii libpng12-0 1.2.8rel-1 PNG library - runtime
ii libqt3-mt 3:3.3.6-2 Qt GUI Library (Threaded runtime
v
ii libsm6 1:1.0.0-4 X11 Session Management library
ii libstdc++6 4.1.1-5 The GNU Standard C++ Library v3
ii libx11-6 2:1.0.0-7 X11 client-side library
ii libxcursor1 1.1.3-1 X cursor management library
ii libxext6 1:1.0.0-4 X11 miscellaneous extension
librar
ii libxft2 2.1.7-1 FreeType-based font drawing
librar
ii libxi6 1:1.0.0-5 X11 Input extension library
ii libxinerama1 1:1.0.1-4 X11 Xinerama extension library
ii libxrandr2 2:1.1.0.2-4 X11 RandR extension library
ii libxrender1 1:0.9.0.2-4 X Rendering Extension client
libra
ii libxt6 1:1.0.0-5 X11 toolkit intrinsics library
ii zlib1g 1:1.2.2-4.sarge.2 compression library - runtime
-- no debconf information
Reply to: