Commit e7497461 authored by Christian Persch's avatar Christian Persch
Browse files

Save glade files with UTF-8 encoding

This avoid putting character entities for non-ASCII characters
in the extractable strings. Bug #596205.
parent 03a23359
2010-03-17 Christian Persch <chpe@gnome.org>
* gladeui/glade-xml-utils.c: Save glade files with UTF-8 encoding
This avoid putting character entities for non-ASCII characters in the
extractable strings. Bug #596205.
2010-03-11 Aaron Brown <aaron.j.brown@hotmail.com>
* src/glade-window.c: Changed "Close without saving" acelerator key
......
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment