[Bug 60670] kate silently corrupts iso-8859-1 files in utf-8 locale
jukka.suomela at gmail.com
Sat Sep 16 05:27:30 UTC 2006
Public bug reported:
Binary package hint: kate
If I open a binary file in kate, it gives a warning that saving the file
will corrupt it. Fine.
However, if I work in a utf-8 locale, open an iso-8859-1 encoded file in
kate, and save it, it will be corrupted. Each non-ASCII character (that
does not happen to form a valid utf-8 encoded character) is changed into
an "invalid character" marker. Simply opening and saving the file is
enough to lose all non-ASCII characters, and no warning is given.
Switching to the right encoding after opening the file naturally helps,
if only one remembers to do it. If the files are in English, there may
be only a few non-ASCII characters in the files, making them easy to
miss until it is too late.
** Affects: kdebase (Ubuntu)
kate silently corrupts iso-8859-1 files in utf-8 locale
More information about the kubuntu-bugs