- Timestamp:
- Mar 7, 2023 4:08:56 PM (19 months ago)
- File:
-
- 1 edited
-
trunk/doc/manual/htmlhelp-qthelp.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/manual/htmlhelp-qthelp.py
r98863 r98865 53 53 for html_file_name in html_files: 54 54 full_html_path = os.path.join(folder, html_file_name) 55 file_content = codecs.open(full_html_path, encoding=' iso-8859-1').read()55 file_content = codecs.open(full_html_path, encoding='utf-8').read() 56 56 57 57 class html_parser(HTMLParser): … … 100 100 return html_file_lines 101 101 full_path = os.path.join(folder, list_file) 102 file = codecs.open(full_path, encoding=' iso-8859-1')102 file = codecs.open(full_path, encoding='utf-8') 103 103 104 104 lines = file.readlines() … … 199 199 return toc_string_list 200 200 full_path = os.path.join(folder, toc_file) 201 file = codecs.open(full_path, encoding=' iso-8859-1')201 file = codecs.open(full_path, encoding='utf-8') 202 202 content = file.read() 203 203 file.close()
Note:
See TracChangeset
for help on using the changeset viewer.

