From f732f907fece87edb19dd3579a13f5de03308ac1 Mon Sep 17 00:00:00 2001 From: Tim G L Lyons Date: Wed, 13 Feb 2013 11:02:52 +0000 Subject: [PATCH] Fix HTML encoding output support. (This should have been committed on 30 Jan 2013, when the same change was made to trunk and gramps40, and around the same time when related changes were made to gramps34) svn: r21346 --- src/plugins/lib/libhtml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/lib/libhtml.py b/src/plugins/lib/libhtml.py index 948c1180d..c8ce5d64c 100644 --- a/src/plugins/lib/libhtml.py +++ b/src/plugins/lib/libhtml.py @@ -200,7 +200,7 @@ class Html(list): if title is not None: head += (Html('title', title, inline=True, indent=True)) if html5: - head += Html('meta', charset="utf-8", indent=True) + head += Html('meta', charset=encoding, indent=True) else: meta1 = 'http-equiv="content-type" content="text/html;charset=%s"' meta2 = 'http-equiv="Content-Style-Type" content="text/css"'