[Gnucash-changes] r13078 - gnucash/trunk - Specify the output xml
encoding as utf8.
Derek Atkins
warlord at cvs.gnucash.org
Thu Feb 2 10:55:16 EST 2006
Author: warlord
Date: 2006-02-02 10:55:16 -0500 (Thu, 02 Feb 2006)
New Revision: 13078
Trac: http://svn.gnucash.org/trac/changeset/13078
Modified:
gnucash/trunk/ChangeLog
gnucash/trunk/src/backend/file/io-gncxml-v2.c
Log:
Specify the output xml encoding as utf8.
Modified: gnucash/trunk/ChangeLog
===================================================================
--- gnucash/trunk/ChangeLog 2006-02-02 14:39:09 UTC (rev 13077)
+++ gnucash/trunk/ChangeLog 2006-02-02 15:55:16 UTC (rev 13078)
@@ -1,3 +1,8 @@
+2006-02-02 Derek Atkins <derek at ihtfp.com>
+
+ * src/backend/file/io-gncxml-v2.c:
+ Specify the output xml encoding as utf8.
+
2006-02-01 Derek Atkins <derek at ihtfp.com>
* src/business/business-core/gncInvoice.c:
Modified: gnucash/trunk/src/backend/file/io-gncxml-v2.c
===================================================================
--- gnucash/trunk/src/backend/file/io-gncxml-v2.c 2006-02-02 14:39:09 UTC (rev 13077)
+++ gnucash/trunk/src/backend/file/io-gncxml-v2.c 2006-02-02 15:55:16 UTC (rev 13078)
@@ -1102,7 +1102,7 @@
static void
write_v2_header (FILE *out)
{
- fprintf(out, "<?xml version=\"1.0\"?>\n");
+ fprintf(out, "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n");
fprintf(out, "<" GNC_V2_STRING);
gnc_xml2_write_namespace_decl (out, "gnc");
More information about the gnucash-changes
mailing list