summaryrefslogtreecommitdiff
path: root/development/meld3/utf8.patch
blob: b435936ee6efd2a636e11432555b76b0469cdd78 (plain)
1
2
3
4
5
6
7
8
9
10
--- a/meld/patchdialog.py
+++ b/meld/patchdialog.py
@@ -118,6 +118,7 @@
                 filename = self.filediff._get_filename_for_saving(
                     _("Save Patch"))
                 if filename:
+                    txt = txt.encode('utf-8')
                     self.filediff._save_text_to_filename(filename, txt)
                     break