Ma Lin <[email protected]> added the comment: It seems impossible to specify the encoding of .chm to ASCII [1], the available encodings of .chm are limited to a list [2].
So I wrote a Sphinx extension for .chm output, it escapes the characters which (codepoint > 0x7F) to 7-bit ASCII. Most escaped characters are: “”’–…— [1] https://github.com/sphinx-doc/sphinx/blob/master/sphinx/builders/htmlhelp.py#L203-L206 [2] https://github.com/sphinx-doc/sphinx/blob/master/sphinx/builders/htmlhelp.py#L136-L170 ---------- _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue32174> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
