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

Jan Paul Batrina <jpmbatrin...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/fram
                   |                            |eworks/ktexteditor/commit/5
                   |                            |ce06dacda2f57e03c5d513eba75
                   |                            |fadda63505ca
             Status|ASSIGNED                    |RESOLVED

--- Comment #2 from Jan Paul Batrina <jpmbatrin...@gmail.com> ---
Git commit 5ce06dacda2f57e03c5d513eba75fadda63505ca by Jan Paul Batrina.
Committed on 02/08/2021 at 11:44.
Pushed by cullmann into branch 'master'.

Do not show encoding error when file only contains BOM

failedToConvertOnce shouldn't be set to true when
the BOM was processed.

After this commit, opening files with the following
hex content should open in the corresponding encodings:
E9              - Latin-1/ISO-8859-15
EF BB BF        - UTF-8
EF BB BF E9 FF  - Latin-1/ISO-8859-15

Then forcing the Latin-1 files above to be opened
as UTF-8 should show the "invalid encoding" error
message properly.
Related: bug 272579

M  +11   -1    src/buffer/katetextloader.h

https://invent.kde.org/frameworks/ktexteditor/commit/5ce06dacda2f57e03c5d513eba75fadda63505ca

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

Reply via email to