https://bugs.kde.org/show_bug.cgi?id=445015
Bug ID: 445015
Summary: Unsuccessful "View in another encoding" is remembered
by Kate after reopening the file
Product: kate
Version: 21.08.2
Platform: Manjaro
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: encoding
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 143238
--> https://bugs.kde.org/attachment.cgi?id=143238&action=edit
Step 1: open the file (encoded in cp1251)
SUMMARY
After unsuccessful "View in another encoding" file is re-opened
STEPS TO REPRODUCE
1. Open a non-Unicode file (for example, Cyrillic encoding CP1251)
2. Choose "View as Unicode -> UTF8". Result: you see an error, the text is
garbled and file becomes read-only in the editor
3. Close Kate and reopen the file.
OBSERVED RESULT
File wasn't changed and the text looks correct (not garbled). But Kate shows
that the file encoding is now UTF8.
EXPECTED RESULT
Since the "View in UTF8 encoding" action resulted in error, the encoding should
be cp1251 (as initially it was).
SOFTWARE/OS VERSIONS:
Operating System: Manjaro Linux
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2
Kernel Version: 5.15.0-1-MANJARO (64-bit)
Graphics Platform: X11
--
You are receiving this mail because:
You are watching all bug changes.