From 81b8a0ce7bba3cc6aabaf1046912b71f475eddcc Mon Sep 17 00:00:00 2001 From: Jens Georg Date: Sat, 30 Apr 2011 19:04:50 +0300 Subject: [PATCH] core: Do not use entity-quoting in UTF-8 XML Fixes bgo#648486 - Rygel doesn't show up in Samsung PS50C77 TV --- src/rygel/rygel-root-device-factory.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rygel/rygel-root-device-factory.vala b/src/rygel/rygel-root-device-factory.vala index c0b24f4..b3ba821 100644 --- a/src/rygel/rygel-root-device-factory.vala +++ b/src/rygel/rygel-root-device-factory.vala @@ -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"); -- 2.7.4