bpo-32174: Let .chm document display non-ASCII characters properly (GH-9758)

Let .chm document display non-ASCII characters properly

Escape the `body` part of .chm source file to 7-bit ASCII, to fix visual effect on some MBCS Windows systems.
This commit is contained in:
animalize 2018-10-08 16:20:54 -05:00 committed by Steve Dower
parent 60d230c78f
commit 6261ae9b01
3 changed files with 42 additions and 1 deletions

View file

@ -14,7 +14,7 @@ sys.path.append(os.path.abspath('includes'))
# ---------------------
extensions = ['sphinx.ext.coverage', 'sphinx.ext.doctest',
'pyspecific', 'c_annotations']
'pyspecific', 'c_annotations', 'escape4chm']
# General substitutions.
project = 'Python'