[rygel] core: Do not use entity-quoting in UTF-8 XML
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] core: Do not use entity-quoting in UTF-8 XML
- Date: Sat, 30 Apr 2011 17:20:03 +0000 (UTC)
commit 81b8a0ce7bba3cc6aabaf1046912b71f475eddcc
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]