commit | 853f069103f00b3f487833787b5388c7e79ff3c3 | [log] [tgz] |
---|---|---|
author | Craig Scott <craig.scott@crascit.com> | Fri Apr 07 18:11:05 2023 +1000 |
committer | Brad King <brad.king@kitware.com> | Tue May 30 10:32:59 2023 -0400 |
tree | d8cafb62f3267a0c100f2cefede791fd85fc5688 | |
parent | 0926ed1f69aee7fdb454e10d9b98016c3dfc4e7e [diff] |
Sphinx: Specify encoding when opening files for title extraction When the encoding is not specified, open() may choose an encoding based on the locale in use. That encoding may have no relationship to the encoding of the file being opened. Use the locale from the document settings instead, which should better match the file's encoding. Fixes: #24679