Comment 7 for bug 362292

Revision history for this message
Pauli Rikula (prikula) wrote :

Kile 2.1 Does not change writing permissions after saving using ISO 8859-1 encoding or setting the encoding to ISO 8859-1 if tex-file contains 'öåäÖÅÄ'-chars and it has been opened as UTF-8 file. When opening the file at first place kile said 'The file foobar was opened with UTF-8 encoding, but contained invalid characters. It is set to read-only mode, as saving might destroy its content.

test for example:

$ python -c "open('test.tex','w').write('\\usepackage[latin1]{inputenc}\n\xe4\xe5\xf6\n')"

$kile test.tex &

$ apt-cache show kile
Package: kile
Priority: optional
Section: universe/tex
Installed-Size: 10492
Maintainer: Ubuntu MOTU Developers <email address hidden>
Original-Maintainer: Debian KDE Extras Team <email address hidden>
Architecture: i386
Version: 1:2.1.0~svn1014763beta2-1ubuntu1
Replaces: ktexmaker2 (<< 1.8)
Depends: kdebase-runtime (>= 4:4.3.0), kdelibs5 (>= 4:4.3.0), libc6 (>= 2.4), libgcc1 (>= 1:4.1.1), libqt4-dbus (>= 4.5.1), libqt4-network (>= 4.5.1), libqt4-script (>= 4.5.1), libqt4-svg (>= 4.5.1), libqt4-xml (>= 4.5.1), libqtcore4 (>= 4.5.1), libqtgui4 (>= 4.5.1), libstdc++6 (>= 4.1.1), konsole, texlive-base-bin, texlive-latex-base
Recommends: asymptote, context, dblatex, dvipdfmx, dvipng, ghostscript, imagemagick, kbibtex | pybliographer | gbib | jabref, konqueror | iceweasel, latex2html, lilypond, okular | evince | gv, psutils, tex4ht, texlive-metapost, texlive-xetex, zip
Suggests: kile-doc, texlive-doc-base, aspell | ispell | hspell
Conflicts: ktexmaker2 (<< 1.8)
Filename: pool/universe/k/kile/kile_2.1.0~svn1014763beta2-1ubuntu1_i386.deb
Size: 1851272
MD5sum: d77b2dc08c0f6826f70c498f7ebc51e2
SHA1: 85431d1cb29774a0482062c54ac3290efce1590c
SHA256: 1238bbe6f7ccd489105f36400923849599280f4a25a338fc3b5348fb2fe37734
Description: KDE Integrated LaTeX Environment
 Kile is a user-friendly LaTeX source editor and TeX shell for KDE.
 .
 The source editor is a multi-document editor designed for .tex and .bib
 files. Menus, wizards and auto-completion are provided to assist with
 tag insertion and code generation. A structural view of the document
 assists with navigation within source files.
 .
 The TeX shell integrates the various tools required for TeX processing.
 It assists with LaTeX compilation, DVI and postscript document viewing,
 generation of bibliographies and indices and other common tasks.
 .
 Kile can support large projects consisting of several smaller files.
Homepage: http://kile.sourceforge.net
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu