core: Do not use entity-quoting in UTF-8 XML
authorJens Georg <mail@jensge.org>
Sat, 30 Apr 2011 16:04:50 +0000 (19:04 +0300)
committerJens Georg <mail@jensge.org>
Sat, 30 Apr 2011 16:07:32 +0000 (19:07 +0300)
Fixes bgo#648486 - Rygel doesn't show up in Samsung PS50C77 TV

src/rygel/rygel-root-device-factory.vala

index c0b24f4..b3ba821 100644 (file)
@@ -298,7 +298,7 @@ internal class Rygel.RootDeviceFactory {
 
         string mem = null;
         int len = -1;
-        doc.doc.dump_memory_format (out mem, out len, false);
+        doc.doc.dump_memory_enc (out mem, out len, "UTF-8");
 
         if (unlikely (len <= 0)) {
             var message = _("Failed to write modified description to %s");