summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Rostovtsev <tetromino@gentoo.org>2011-12-13 12:06:17 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2011-12-13 12:06:30 +0000
commitdeccd695a43573d31183fe0e93316d306ce989f2 (patch)
tree738921c7738fadb716fec492dfd9404e94cedee5
parent75f2aaaa06e57bc1fbdbaf0530e48dea02541b03 (diff)
downloaddbus-python-deccd695a43573d31183fe0e93316d306ce989f2.tar.gz
Fix rst2html build failure in non-unicode locales
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=43735 Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
-rw-r--r--NEWS2
-rw-r--r--configure.ac1
2 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index e6ce74f..c45030a 100644
--- a/NEWS
+++ b/NEWS
@@ -19,6 +19,8 @@ Fixes:
* If libdbus somehow gives us invalid UTF-8, don't crash (Barry Warsaw)
+* Fix rst2html failure in non-UTF-8 locales (Alexandre Rostovtsev)
+
* Start to port to Python 3 compatibility (Barry Warsaw)
D-Bus Python Bindings 0.84.0 (2011-05-25)
diff --git a/configure.ac b/configure.ac
index 96eb234..873d16d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -140,6 +140,7 @@ if test "${enable_html_docs}" != no; then
DBUS_PY_ADD_RST2HTMLFLAG([--no-raw])
DBUS_PY_ADD_RST2HTMLFLAG([--no-file-insertion])
DBUS_PY_ADD_RST2HTMLFLAG([--cloak-email-addresses])
+ DBUS_PY_ADD_RST2HTMLFLAG([--input-encoding=UTF-8])
fi
fi
AC_SUBST([RST2HTML])