| Summary: | DOS line endings are not correctly detected with files encoded in UTF-8 with BOM | ||
|---|---|---|---|
| Product: | [Applications] kdiff3 | Reporter: | JaumeGreen |
| Component: | application | Assignee: | michael <reeves.87> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 1.9.4 | ||
| Target Milestone: | --- | ||
| Platform: | Microsoft Windows | ||
| OS: | Microsoft Windows | ||
| Latest Commit: | https://invent.kde.org/sdk/kdiff3/commit/96cc89bec01f14bf5fc980e6ae250ffebbd7164f | Version Fixed/Implemented In: | 1.9.5 |
| Sentry Crash Report: | |||
| Attachments: | Attached sample files, one with the problematic encoding, second one with a encoding that works. | ||
|
Description
JaumeGreen
2022-02-14 15:00:56 UTC
Git commit 4f14cfb9efd58e1ebe22e1d4e126b779018a21c0 by Michael Reeves. Committed on 23/02/2022 at 21:32. Pushed by mreeves into branch 'master'. Fix EOL detection issues Use QStream::read to read next character for EOL detection Avoid QStream::pos due to severe speed issues Related: bug 448353 FIXED-IN:1.9.5 M +14 -12 src/SourceData.cpp M +87 -1 src/autotests/datareadtest.cpp https://invent.kde.org/sdk/kdiff3/commit/4f14cfb9efd58e1ebe22e1d4e126b779018a21c0 Git commit ac247986d4d24bb28cfc112d58e3d0a808057b1a by Michael Reeves. Committed on 23/02/2022 at 21:35. Pushed by mreeves into tag '1.9.5'. Fix EOL detection issues Use QStream::read to read next character for EOL detection Avoid QStream::pos due to severe speed issues Related: bug 448353 FIXED-IN:1.9.5 M +14 -11 src/SourceData.cpp https://invent.kde.org/sdk/kdiff3/commit/ac247986d4d24bb28cfc112d58e3d0a808057b1a Git commit 96cc89bec01f14bf5fc980e6ae250ffebbd7164f by Michael Reeves. Committed on 23/02/2022 at 22:33. Pushed by mreeves into branch '1.9'. Fix EOL detection issues Use QStream::read to read next character for EOL detection Avoid QStream::pos due to severe speed issues Related: bug 448353 FIXED-IN:1.9.5 M +14 -11 src/SourceData.cpp https://invent.kde.org/sdk/kdiff3/commit/96cc89bec01f14bf5fc980e6ae250ffebbd7164f |