[New-bugs-announce] [issue32223] distutils doesn't correctly read UTF-8 content from config files

Dan report at bugs.python.org
Tue Dec 5 11:46:26 EST 2017


New submission from Dan <malantrinu at gmail.com>:

On Windows, distutils doesn't correctly read UTF-8 content from config files (setup.cfg).

Seems like the issue is located on the line reading the files via the ConfigParser; simply adding 'encoding="UTF-8"' as argument fixes the problem for me: https://github.com/python/cpython/pull/4727

On Linux it seems to be working fine.

----------
components: Distutils, Library (Lib), Windows
messages: 307668
nosy: delivrance, dstufft, eric.araujo, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
pull_requests: 4633
severity: normal
status: open
title: distutils doesn't correctly read UTF-8 content from config files
type: behavior
versions: Python 3.4, Python 3.5, Python 3.6, Python 3.7, Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32223>
_______________________________________


More information about the New-bugs-announce mailing list