https://bugs.kde.org/show_bug.cgi?id=366727

            Bug ID: 366727
           Summary: Bad UTF-8 reported, but it's not true
           Product: kate
           Version: 16.04
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: encoding
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: adr.fant...@gmail.com

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.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to