[issue18736] Invalid charset in HTML pages inside documentation in CHM format
New submission from Basil Peace: HTML pages inside CHM documentation use the following tag to set applied character set: <meta http-equiv="Content-Type" content="text/html; charset=iso8859_1" /> `iso8859_1` is neither valid character set according to IANA registry nor is recognized by most browsers (I've checked IE, Firefox and Opera). This isn't notable for text in English. But, in `Python Standard Library` in section `4.7.1 String Methods` there is a documentation for str.casefold(). This paragraph contains German letter `ß`. Without defined character set this letter can be displayed wrongly, depending on user's regional settings. In my Russian I see in CHM `Я`. Firefox displays it as `�`. Fix of charset to `ISO-8859-1` could resolve the problem. P.S. Use of UTF-8 may be more convenient for preventing future errors. ---------- assignee: docs@python components: Documentation messages: 195136 nosy: docs@python, grv87 priority: normal severity: normal status: open title: Invalid charset in HTML pages inside documentation in CHM format versions: Python 3.3 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue18736> _______________________________________
Changes by Serhiy Storchaka <storchaka@gmail.com>: ---------- nosy: +serhiy.storchaka _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue18736> _______________________________________
Ezio Melotti added the comment: This is a problem with Sphinx and should be reported upstream. These encondings are defined in the htmlhelp builder and they are recognized by Python, but indeed they shouldn't end up in the meta tag. ---------- assignee: docs@python -> georg.brandl nosy: +ezio.melotti, georg.brandl status: open -> pending type: -> behavior _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue18736> _______________________________________
Changes by Georg Brandl <georg@python.org>: ---------- resolution: -> invalid status: pending -> closed _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue18736> _______________________________________
participants (4)
-
Basil Peace
-
Ezio Melotti
-
Georg Brandl
-
Serhiy Storchaka