diff --git a/NOTICE.md b/NOTICE.md index 8c8cdc4..5013ba3 100644 --- a/NOTICE.md +++ b/NOTICE.md @@ -42,3 +42,5 @@ Please keep the list sorted. * Stefan Schulz - * Stream HPC B.V. * Gergely Meszaros +* Klarälvdalens Datakonsult AB (KDAB) + * Jonatan Wallmander diff --git a/doxysphinx/html_parser.py b/doxysphinx/html_parser.py index 697f171..deaab02 100644 --- a/doxysphinx/html_parser.py +++ b/doxysphinx/html_parser.py @@ -484,7 +484,7 @@ def parse(self, file: Path) -> HtmlParseResult: :return: The result of the parsing :rtype: ParseResult """ - buffer = file.read_text() + buffer = file.read_text(encoding="utf-8") tree = etree.document_fromstring(buffer).getroottree() meta_title, project, title = self._read_project_and_title(buffer, file)