Skip to content

Commit

Permalink
* debian/patches/04_do_not_escape_utf8.patch:
Browse files Browse the repository at this point in the history
  - cherry pick fix for utf8 encodng issue from upstream that causes
    strings to be not translatable (LP: #625859)
  • Loading branch information
mvo5 authored and Bazaar Package Importer committed Aug 30, 2010
1 parent 56e91df commit eddd6d1
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
8 changes: 8 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
glade-3 (3.7.0.is.3.6.7-0ubuntu2) maverick; urgency=low

* debian/patches/04_do_not_escape_utf8.patch:
- cherry pick fix for utf8 encodng issue from upstream that causes
strings to be not translatable (LP: #625859)

-- Michael Vogt <[email protected]> Mon, 30 Aug 2010 11:41:28 +0200

glade-3 (3.7.0.is.3.6.7-0ubuntu1) lucid; urgency=low

* Reverting to 3.6.x: 3.7.0 can corrupt some .ui file in complex cases
Expand Down
15 changes: 15 additions & 0 deletions debian/patches/04_do_not_escape_utf8.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Description: Don't escape utf-8 (no need for that)
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=596205
Origin: upstream

--- a/gladeui/glade-xml-utils.c
+++ a/gladeui/glade-xml-utils.c
@@ -852,7 +852,7 @@ glade_xml_doc_save (GladeXmlDoc *doc_in, const gchar *full_path)
xmlDocPtr doc = (xmlDocPtr) doc_in;

xmlKeepBlanksDefault (0);
- return xmlSaveFormatFile (full_path, doc, 1);
+ return xmlSaveFormatFileEnc (full_path, doc, "UTF-8", 1);
}

void

0 comments on commit eddd6d1

Please sign in to comment.