[rygel/rygel-0-10: 2/8] core: Do not use entity-quoting in UTF-8 XML



commit cd4d8d3cf304c277eb48ce519bf87e45724412be
Author: Jens Georg <mail jensge org>
Date:   Sat Apr 30 19:04:50 2011 +0300

    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 files changed, 1 insertions(+), 1 deletions(-)
---
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");



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]