[New-bugs-announce] [issue32530] How ro fix the chm encoding in Non western european codepage(cp1252) Windows
Hery
report at bugs.python.org
Wed Jan 10 23:42:02 EST 2018
New submission from Hery <weiyong.mao at gmail.com>:
Start from Python 3.6.3, the offical chm document is full of corrputed character.
Example: the first page which is `What’s New In Python 3.6` `’`is `0x92` in cp1252 and will not display correctly in non western european code page. An another example is `9.1. numbers — Numeric abstract base classes` `—` is `0x97`.
The Microsoft HTML Help does not recognise `<meta http-equiv="Content-Type" content="text/html; charset=cp1252" />`.
Then, how to solve it?
According to this https://blogs.msdn.microsoft.com/sandcastle/2007/09/29/chm-localization-and-unicode-issues-dbcsfix-exe/
I recommand to use the following command to make the hhc encoding chm as cp1252:
SbAppLocale.exe $(LCID) "%PROGRAMFILES%\HTML Help Workshop\hhc.exe" Path\Project.HHp
I donnot know to how to submit patch and it seems quite easy to fix by offical windows developer.
----------
components: Windows
messages: 309790
nosy: Nim, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: How ro fix the chm encoding in Non western european codepage(cp1252) Windows
type: behavior
versions: Python 3.6
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32530>
_______________________________________
More information about the New-bugs-announce
mailing list