VirtualBox

Changeset 98865 in vbox for trunk


Ignore:
Timestamp:
Mar 7, 2023 4:08:56 PM (19 months ago)
Author:
vboxsync
Message:

Docs: bugref:10302. Don't use iso-8859-1 encoding.

File:
1 edited

Legend:

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

    r98863 r98865  
    5353    for html_file_name in html_files:
    5454        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()
    5656
    5757        class html_parser(HTMLParser):
     
    100100        return html_file_lines
    101101    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')
    103103
    104104    lines = file.readlines()
     
    199199        return toc_string_list
    200200    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')
    202202    content = file.read()
    203203    file.close()
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