summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-05-10 17:21:11 +0200
committerPekka Paalanen <pq@iki.fi>2022-05-11 07:21:14 +0000
commitf7ca2c65f3bffd45b54d32d4ccf467c31d48a39b (patch)
tree9719af79a361ab1b453f03a07d8fd1ac7bda1272 /doc
parent9402afc353bb359b4d87622451abd635d111d356 (diff)
docs/publican: ensure output encoding is UTF-8
Without this, DocBook picks the output encoding and on some setups we end up with ISO-8859-1. Tested by booting a fresh Alpine VM, verifying that the generated HTML is using the incorrect charset, applying the patch, and verifying that the generated HTML is fixed. Signed-off-by: Simon Ser <contact@emersion.fr>
Diffstat (limited to 'doc')
-rw-r--r--doc/publican/meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/publican/meson.build b/doc/publican/meson.build
index 60305f4..eac3e9b 100644
--- a/doc/publican/meson.build
+++ b/doc/publican/meson.build
@@ -7,6 +7,7 @@ custom_target(
command: [
xmlto,
'--skip-validation',
+ '--stringparam', 'chunker.output.encoding=UTF-8',
'--stringparam', 'chunk.section.depth=0',
'--stringparam', 'toc.section.depth=1',
'--stringparam', 'generate.consistent.ids=1',