From f7ca2c65f3bffd45b54d32d4ccf467c31d48a39b Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 10 May 2022 17:21:11 +0200 Subject: [PATCH] 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 --- doc/publican/meson.build | 1 + 1 file changed, 1 insertion(+) 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', -- 2.7.4