From 5d28b8d830db38259a79e584a21c0ef1cc371db6 Mon Sep 17 00:00:00 2001
From: Matthias Klose <doko@ubuntu.com>
Date: Wed, 7 May 2014 15:02:50 +0200
Subject: [PATCH]   * Use UTF-8 encoding for the python policy in HTML format.
 Closes: #689931.

---
 debian/changelog | 1 +
 debian/rules     | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index b436812..3bce16b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 python-defaults (2.7.6-1) UNRELEASED; urgency=medium
 
   * Bump version to 2.7.6.
+  * Use UTF-8 encoding for the python policy in HTML format. Closes: #689931.
 
  -- Matthias Klose <doko@debian.org>  Wed, 07 May 2014 14:40:27 +0200
 
diff --git a/debian/rules b/debian/rules
index 87411d8..0bdc468 100755
--- a/debian/rules
+++ b/debian/rules
@@ -50,7 +50,7 @@ stamp-build:
 stamp-doc-policy:
 	debiandoc2text debian/python-policy.sgml
 	mv -f python-policy.txt debian/
-	debiandoc2html debian/python-policy.sgml
+	debiandoc2html -l en.UTF-8 debian/python-policy.sgml
 	rm -rf debian/python-policy.html
 	mv -f python-policy.html debian/
 	make -C pydist README.PyDist.html
-- 
GitLab