When opening the attached powerinfo.txt file, kate reports: The file /home/adriano/powerinfo_fix.txt was opened with UTF-8 encoding but contained invalid characters. It is set to read-only mode, as saving might destroy its content. Either reopen the file with the correct encoding chosen or enable the read-write mode again in the tools menu to be able to edit it. However, the file has been tested according to the two top answers of this stack overflow question: http://unix.stackexchange.com/questions/6516/filtering-invalid-utf8 (grep and iconv method) And no non-UTF-8 items are found. Reproducible: Always Steps to Reproduce: 1. Open attached file 2. Check file with iconv or grep Actual Results: File is reported to contain non-UTF-8 characters. Expected Results: Warnings for non-UTF-8 chars should not appear.
Created attachment 100576 [details] Test case
It contains 0x00 (NUL) characters. If you can avoid creating those, Kate will read it.
(In reply to Christoph Feck from comment #2) > It contains 0x00 (NUL) characters. If you can avoid creating those, Kate > will read it. Thanks. Maybe Kate could report (optionally... maybe with an additional button next to the "close info" button) the lines and characters which give problems?
*** Bug 343506 has been marked as a duplicate of this bug. ***
*** Bug 154897 has been marked as a duplicate of this bug. ***
Dear user, this wish list item is now closed, as it wasn't touched in the last year and no contributor stepped up to implement it. The Kate/KTextEditor team is small and we can just try to keep up with fixing bugs. Therefore wishes that show no activity for a years or more will be closed from now on to keep at least a bit overview about 'current' wishs of the users. If you want your feature to be implemented, please step up to provide some patch for it. If you think it is really needed, you can reopen your request, but keep in mind, if no new good arguments are made and no people get attracted to help out to implement it, it will expire in a year again. We have a nice website https://kate-editor.org that provides all the information needed to contribute, please make use of it. Patches can be handed in via https://phabricator.kde.org/differential/ Greetings Christoph Cullmann