[issue45597] os.path.realpath returns invalid path for junction pointing to letter-less volume

2021-10-24 Thread Basil Peace


New submission from Basil Peace :

If a path contains a junction pointing to a dir on a letter-less drive then 
`os.path.realpath` returns `Volume{}\dir`, without `\\?\` prefix. 

This path, of course, doesn't work correctly. Actually, it looks relative.

Original issue: https://github.com/pypa/pip/issues/10597

--
components: Windows
messages: 404923
nosy: grv87, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: os.path.realpath returns invalid path for junction pointing to 
letter-less volume
versions: Python 3.10, Python 3.8, Python 3.9

___
Python tracker 
<https://bugs.python.org/issue45597>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18736] Invalid charset in HTML pages inside documentation in CHM format

2013-08-14 Thread Basil Peace

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 rep...@bugs.python.org
http://bugs.python.org/issue18736
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com