[meld] filediff: As a temporary hack, revert to using latin1 as a fallback
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld] filediff: As a temporary hack, revert to using latin1 as a fallback
- Date: Fri, 29 Aug 2014 22:30:49 +0000 (UTC)
commit ee97db4b468bc2c789bd4037446dfd3f3ef5a7a2
Author: Kai Willadsen <kai willadsen gmail com>
Date: Sat Aug 30 08:25:48 2014 +1000
filediff: As a temporary hack, revert to using latin1 as a fallback
This was always the default setting, but I'm hacking this monstrosity
back in in code so that people hopefully won't actually set their
settings keys to perpetuate this crime.
meld/filediff.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/meld/filediff.py b/meld/filediff.py
index 1d25afb..d552cfd 100644
--- a/meld/filediff.py
+++ b/meld/filediff.py
@@ -1114,6 +1114,7 @@ class FileDiff(melddoc.MeldDoc, gnomeglade.Component):
self.linediffer.clear()
self.queue_draw()
try_codecs = list(settings.get_value('detect-encodings'))
+ try_codecs.append('latin1')
yield _("[%s] Opening files") % self.label_text
tasks = []
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]