Summary: | BOM-less UTF8 cannot be detected | ||
---|---|---|---|
Product: | [Applications] kdiff3 | Reporter: | 石庭豐 <lapsap7+kde> |
Component: | application | Assignee: | michael <reeves.87> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 1.9.4 | ||
Target Milestone: | --- | ||
Platform: | Microsoft Windows | ||
OS: | Microsoft Windows | ||
Latest Commit: | https://invent.kde.org/sdk/kdiff3/commit/fc59f1005f41940ca8b62d152b63b4cdf822a5c3 | Version Fixed In: | 1.9.70 |
Sentry Crash Report: | |||
Attachments: |
Observed result -- some gibberish characters
If UTF-8 is manually chosen, no more gibberish character |
Description
石庭豐
2022-01-24 14:00:53 UTC
Created attachment 145856 [details]
If UTF-8 is manually chosen, no more gibberish character
If UTF-8 is manually chosen, no more gibberish character
Git commit fc59f1005f41940ca8b62d152b63b4cdf822a5c3 by Michael Reeves. Committed on 25/01/2022 at 18:38. Pushed by mreeves into branch 'master'. Document "Auto Dectect Unicode". FIXED-IN:1.9.70 M +2 -0 doc/en/index.docbook https://invent.kde.org/sdk/kdiff3/commit/fc59f1005f41940ca8b62d152b63b4cdf822a5c3 Git commit b96f5d7d36bccddea5a1bfa500a0d7436c2dbf1e by Michael Reeves. Committed on 24/01/2022 at 23:51. Pushed by mreeves into branch 'master'. fix: Attempt to autodect non-bom utf-8 This is not fool proof and can't be but its better than not checking at all. Basiclly anything that can be a utf-8 file will be interpruted as such by default if using auto detection. M +15 -1 src/SourceData.cpp M +1 -0 src/SourceData.h https://invent.kde.org/sdk/kdiff3/commit/b96f5d7d36bccddea5a1bfa500a0d7436c2dbf1e Git commit 5ee349ee95d7e1473f6fdc9edf02d0cdc3213836 by Michael Reeves. Committed on 24/01/2022 at 23:56. Pushed by mreeves into branch '1.9'. fix: Attempt to autodect non-bom utf-8 This is not fool proof and can't be but its better than not checking at all. Basiclly anything that can be a utf-8 file will be interpruted as such by default if using auto detection. (cherry picked from commit b96f5d7d36bccddea5a1bfa500a0d7436c2dbf1e) M +15 -1 src/SourceData.cpp M +1 -0 src/SourceData.h https://invent.kde.org/sdk/kdiff3/commit/5ee349ee95d7e1473f6fdc9edf02d0cdc3213836 |