[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#295389: kwrite, kate: does not open UTF-8 file as UTF-8 (need to manually remove config file)



Package: kate
Version: 4:3.3.2-1
Severity: important
Tags: l10n


0) changed system locale with `dpkg-reconfigure locales` from
en_US.ISO8859-1 to ca_EN.UTF-8

1) created a text file with accented characters:

éééééééé

2) verified that this is an UTF-8 using `file`

ngadamri@ricky:~$ file eacute-utf8.txt
eacute-utf8.txt: UTF-8 Unicode text

3) notice that the output is incorrect when opening UTF-8 file with
kwrite and kate:

ééééééééé

4) With the File > Open dialog, I can see at the top right that the
editor currently expects iso8859-1 files

5) if I just start the kwrite, File > Open also expects iso8859-1
instead of utf-8

6) The config file for kwrite contains the line `Encoding=ISO 8859-1`.
Deleting the file ~/.kde/share/config/kwriterc corrects the problem.

7) more:

share/apps/kate/metainfos:Encoding=ISO 8859-1
share/apps/kate/metainfos:Encoding=ISO 8859-1
share/config/katerc:Encoding=ISO 8859-1
share/config/kilerc:Encoding=ISO 8859-1
share/config/quantarc:Default encoding=ISO 8859-1

Should it be necessary to manually delete the file? Why does it keep an
Encoding directive?

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.10.mt-m8305-42u
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)

Versions of packages kate depends on:
ii  kdelibs4                 4:3.3.2-1       KDE core libraries
ii  libart-2.0-2             2.3.17-1        Library of functions for
2D graphi
ii  libc6                    2.3.2.ds1-20    GNU C Library: Shared
libraries an
ii  libfam0c102              2.7.0-6         client library to control
the FAM
ii  libgcc1                  1:3.4.3-6       GCC support library
ii  libice6                  4.3.0.dfsg.1-10 Inter-Client Exchange
library
ii  libidn11                 0.5.2-3         GNU libidn library,
implementation
ii  libpng12-0               1.2.8rel-1      PNG library - runtime
ii  libqt3c102-mt            3:3.3.3-8       Qt GUI Library (Threaded
runtime v
ii  libsm6                   4.3.0.dfsg.1-10 X Window System Session
Management
ii  libstdc++5               1:3.3.5-5       The GNU Standard C++
Library v3
ii  libx11-6                 4.3.0.dfsg.1-10 X Window System protocol
client li
ii  libxext6                 4.3.0.dfsg.1-10 X Window System
miscellaneous exte
ii  libxrender1              0.8.3-7         X Rendering Extension
client libra
ii  xlibs                    4.3.0.dfsg.1-10 X Keyboard Extension (XKB)
configu
ii  zlib1g                   1:1.2.2-3       compression library -
runtime

-- no debconf information



		
__________________________________ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com 
 




Reply to: