VirtualBox

Changeset 105563 in vbox


Ignore:
Timestamp:
Aug 1, 2024 12:03:00 PM (6 months ago)
Author:
vboxsync
Message:

doc/htmlhelp-qthelp.py: bugref:10302. Do use iso-8859-1 encoding for the htmlhelp files because that's what dita-ot uses (and correctly puts in the meta tag) for en-us language. Note that the encoding usage is different for xhtml.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/manual/htmlhelp-qthelp.py

    r105298 r105563  
    5454    keywords_section_lines = ['<keywords>']
    5555    for html_file_name in html_files:
     56        # dita-ot creates htmlhelp output for en-us language in iso-8859-1 encoding, not utf-8
    5657        full_html_path = os.path.join(folder, html_file_name)
    57         file_content = open(full_html_path, encoding='utf-8').read()
     58        file_content = open(full_html_path, encoding='iso-8859-1').read()
    5859
    5960        class html_parser(HTMLParser):
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette