Specify the output xml encoding as utf8.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13078 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Derek Atkins 2006-02-02 15:55:16 +00:00
parent 01d822475c
commit 3c92b8702f
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-02-02 Derek Atkins <derek@ihtfp.com>
* src/backend/file/io-gncxml-v2.c:
Specify the output xml encoding as utf8.
2006-02-01 Derek Atkins <derek@ihtfp.com>
* src/business/business-core/gncInvoice.c:

View File

@ -1102,7 +1102,7 @@ do_write_namespace_cb (const char *type, gpointer data_p, gpointer file_p)
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");