r19072 - gnucash/trunk/src/report - Fix #616606 - Add <meta> line indicating utf8 encoding so that non-latin chars show correctly.
Phil Longstaff
plongstaff at code.gnucash.org
Sun Apr 25 15:13:36 EDT 2010
Author: plongstaff
Date: 2010-04-25 15:13:36 -0400 (Sun, 25 Apr 2010)
New Revision: 19072
Trac: http://svn.gnucash.org/trac/changeset/19072
Modified:
gnucash/trunk/src/report/report-system/html-document.scm
gnucash/trunk/src/report/standard-reports/balsheet-eg.eguile.scm
Log:
Fix #616606 - Add <meta> line indicating utf8 encoding so that non-latin chars show correctly.
Modified: gnucash/trunk/src/report/report-system/html-document.scm
===================================================================
--- gnucash/trunk/src/report/report-system/html-document.scm 2010-04-24 16:26:06 UTC (rev 19071)
+++ gnucash/trunk/src/report/report-system/html-document.scm 2010-04-25 19:13:36 UTC (rev 19072)
@@ -155,6 +155,7 @@
(begin
(push "<html>\n")
(push "<head>\n")
+ (push "<meta http-equiv=\"content-type\" content=\"text-html; charset=utf-8\">\n")
(if css?
(if style-text
(push (list "</style>" style-text "<style type=\"text/css\">\n"))))
Modified: gnucash/trunk/src/report/standard-reports/balsheet-eg.eguile.scm
===================================================================
--- gnucash/trunk/src/report/standard-reports/balsheet-eg.eguile.scm 2010-04-24 16:26:06 UTC (rev 19071)
+++ gnucash/trunk/src/report/standard-reports/balsheet-eg.eguile.scm 2010-04-25 19:13:36 UTC (rev 19072)
@@ -129,6 +129,7 @@
<!-- The HTML starts here... -->
<html>
<head>
+<meta http-equiv="content-type" content="text-html; charset=utf-8">
<title><?scm:d coyname ?> <?scm:d reportname ?> <?scm:d (gnc-print-date opt-date-tp) ?></title>
<?scm (if css? (begin ?>
More information about the gnucash-changes
mailing list