Summary: | KWrite sends changes to Kompare in incompatible character sets | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Christopher Yeleighton <giecrilj> |
Component: | kwrite | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | adaptee, christoph |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kate/e60f20a419448ff958b9c37dd85a59bfd6d42902 | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | The malformed diff that KWrite sends to Kompare |
Description
Christopher Yeleighton
2012-08-04 20:51:44 UTC
Created attachment 72960 [details]
The malformed diff that KWrite sends to Kompare
The diff is partly in UTF–8 and partly in ISO 8859–2.
Right, we use the `diff` command to create the diff that is passed to kompare. Is there a ways to tell diff the encoding of this? (In reply to comment #2) > Right, we use the `diff` command to create the diff that is passed to > kompare. Is there a ways to tell diff the encoding of this? If there were, it would be a violation of the "do one thing" rule. We have to convert the original to UTF–8 for diffing. Will fix that ;) Git commit e60f20a419448ff958b9c37dd85a59bfd6d42902 by Christoph Cullmann. Committed on 02/11/2012 at 20:41. Pushed by cullmann into branch 'master'. ensure we write diff files in UTF-8, no matter what original encoding then pass the diff output 1:1 to kompare or whatever M +48 -27 part/swapfile/katerecoverbar.cpp M +4 -1 part/swapfile/katerecoverbar.h http://commits.kde.org/kate/e60f20a419448ff958b9c37dd85a59bfd6d42902 |