[issue32174] nonASCII punctuation characters can not display in python363.chm.

2018-10-19 Thread Matej Cepl
Matej Cepl added the comment: Sorry, my mistake, it seems I was using python2 Sphinx even for building python3 documentation, which is a bad idea, I guess. -- ___ Python tracker

[issue32174] nonASCII punctuation characters can not display in python363.chm.

2018-10-18 Thread Ma Lin
Ma Lin added the comment: > It seems to me that this adds escape4chm as unconditional dependency on all > platforms. `Doc/Makefile` also includes `htmlhelp` command, it generates .chm materials. BTW, the related navigation bar still has corrputed characters, see the attached file. This can'

[issue32174] nonASCII punctuation characters can not display in python363.chm.

2018-10-18 Thread Zachary Ware
Zachary Ware added the comment: What version of Python are you running Sphinx with? Your error is that `html.entities` does not exist, which makes it sound like Python 2; bump it to Python 3 and you'll be fine. -- ___ Python tracker

[issue32174] nonASCII punctuation characters can not display in python363.chm.

2018-10-18 Thread Matej Cepl
Matej Cepl added the comment: It seems to me that this adds escape4chm as unconditional dependency on all platforms. Which seems like a bad idea to me, I don't think users on Linux or Mac OS X are that keen on *.chm files. I think this change broke my build of python3-doc package on openSUSE

[issue32174] nonASCII punctuation characters can not display in python363.chm.

2018-10-08 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue32174] nonASCII punctuation characters can not display in python363.chm.

2018-10-08 Thread miss-islington
miss-islington added the comment: New changeset c4c86fad8024dc91af8d785c33187c092b4e49d9 by Miss Islington (bot) in branch '3.7': bpo-32174: Let .chm document display non-ASCII characters properly (GH-9758) https://github.com/python/cpython/commit/c4c86fad8024dc91af8d785c33187c092b4e49d9 --

[issue32174] nonASCII punctuation characters can not display in python363.chm.

2018-10-08 Thread miss-islington
miss-islington added the comment: New changeset 64bcedce8d61e1daa9ff7980cc07988574049b1f by Miss Islington (bot) in branch '3.6': bpo-32174: Let .chm document display non-ASCII characters properly (GH-9758) https://github.com/python/cpython/commit/64bcedce8d61e1daa9ff7980cc07988574049b1f --

[issue32174] nonASCII punctuation characters can not display in python363.chm.

2018-10-08 Thread Steve Dower
Steve Dower added the comment: Thanks, that looks perfect! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32174] nonASCII punctuation characters can not display in python363.chm.

2018-10-08 Thread miss-islington
Change by miss-islington : -- pull_requests: +9149 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue32174] nonASCII punctuation characters can not display in python363.chm.

2018-10-08 Thread miss-islington
Change by miss-islington : -- pull_requests: +9148 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue32174] nonASCII punctuation characters can not display in python363.chm.

2018-10-08 Thread Steve Dower
Steve Dower added the comment: New changeset 6261ae9b01fb8429b779169f8de37ff567c144e8 by Steve Dower (animalize) in branch 'master': bpo-32174: Let .chm document display non-ASCII characters properly (GH-9758) https://github.com/python/cpython/commit/6261ae9b01fb8429b779169f8de37ff567c144e8

[issue32174] nonASCII punctuation characters can not display in python363.chm.

2018-10-08 Thread Ma Lin
Change by Ma Lin : Added file: https://bugs.python.org/file47858/PR 9758 effects.png ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue32174] nonASCII punctuation characters can not display in python363.chm.

2018-10-08 Thread Ma Lin
Ma Lin 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:

[issue32174] nonASCII punctuation characters can not display in python363.chm.

2018-10-08 Thread Ma Lin
Change by Ma Lin : -- keywords: +patch pull_requests: +9143 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mail

[issue32174] nonASCII punctuation characters can not display in python363.chm.

2018-10-08 Thread Ma Lin
Ma Lin added the comment: I will create a PR to fix this within a day. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue32174] nonASCII punctuation characters can not display in python363.chm.

2018-10-06 Thread Steve Dower
Steve Dower added the comment: Until someone creates and enables a Sphinx extension/option to only generate ASCII output, it will remain. Volunteers are welcome -- ___ Python tracker ___

[issue32174] nonASCII punctuation characters can not display in python363.chm.

2018-10-02 Thread Sangbae Nam
Sangbae Nam added the comment: This issue still persists in 3.6 and 3.7. -- assignee: -> docs@python components: +Documentation nosy: +Sangbae Nam, docs@python versions: +Python 3.7 Added file: https://bugs.python.org/file47844/py37chm.png ___ Pyth

[issue32174] nonASCII punctuation characters can not display in python363.chm.

2018-04-02 Thread wwq
wwq added the comment: And in python365.chm, also had some non ascii chars can not display. -- Added file: https://bugs.python.org/file47515/QQ截图20180403090715.png ___ Python tracker _

[issue32174] nonASCII punctuation characters can not display in python363.chm.

2018-04-02 Thread wwq
wwq added the comment: In python365.chm, it loss the style in any page but can show in IE. -- Added file: https://bugs.python.org/file47514/QQ截图20180403085952.png ___ Python tracker __

[issue32174] nonASCII punctuation characters can not display in python363.chm.

2018-03-13 Thread Steve Dower
Steve Dower added the comment: We should probably prefer to force ASCII with explicit escapes (ideally named escapes, rather than codepoints). I'm not sure how to make Sphinx/docutils do that, but presumably it could be our own extension that handles the problematic characters people add to o

[issue32174] nonASCII punctuation characters can not display in python363.chm.

2018-03-12 Thread Ma Lin
Ma Lin added the comment: The source code of .chm changed between 3.6.2 and 3.6.3, the former uses escaped html entities. I couldn't find out which commit caused this change. 3.6.2 chm: What’s New In Python 3.6 3.6.3 chm: What抯 New In Python 3.6 3.6.2 chm: Summary – Release highlights 3.6.3 c

[issue32174] nonASCII punctuation characters can not display in python363.chm.

2018-03-11 Thread Ma Lin
Change by Ma Lin : Added file: https://bugs.python.org/file47476/screenshot.PNG ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue32174] nonASCII punctuation characters can not display in python363.chm.

2018-03-11 Thread Ma Lin
Ma Lin added the comment: Here is a solution: 1, open a page(whatever) with Internet Explorer. 2, right click the page -> Encoding -> check "Auto-Select" Then the wrong characters (�/抯) will disappear forever. > Does anyone else see this problem? Probably a lot of people have this problem. I in

[issue32174] nonASCII punctuation characters can not display in python363.chm.

2018-01-08 Thread wwq
wwq added the comment: I found the problem was not fixed on python364.chm but it show well on python362.chm, maybe the python.org official config was a change to let the coding error. -- nosy: +wwqgtxx ___ Python tracker

[issue32174] nonASCII punctuation characters can not display in python363.chm.

2017-12-02 Thread Ned Deily
Change by Ned Deily : -- nosy: +mdk ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/ma

[issue32174] nonASCII punctuation characters can not display in python363.chm.

2017-12-02 Thread R. David Murray
R. David Murray added the comment: The doc source files do not contain smart quotes, and as far as I know, sphinx does produce correct utf-8. Recently there was a bug where incorrect smart quotes were leaking out of the internationalization of the docs, so this might be a problem that is alre

[issue32174] nonASCII punctuation characters can not display in python363.chm.

2017-12-02 Thread Steve Dower
Steve Dower added the comment: I'm not sure there will be any good fix for this. We might be able to coerce proper utf-8 output from Sphinx, and if it also adds the encoding tags required by whatever ancient version of Internet Explorer is used then it should be fine It's likely just best to

[issue32174] nonASCII punctuation characters can not display in python363.chm.

2017-11-29 Thread zaazbb
New submission from zaazbb : In chm(python363.chm) documents, some unicode chars (non ascii chars) can not display. for example: asyncio — Asynchronous I/O, event loop, coroutines and tasks displayed as asyncio � Asynchronous I/O, event loop, coroutines and tasks and Asynchronous programmi