Issue 9887: distutil's build_scripts doesn't read utf-8 in all locales - Python tracker

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
process
Status: closed Resolution: duplicate
Dependencies: Superseder: distutils: set encoding to utf-8 for input and output files
View: 9561
Assigned To: tarek Nosy List: eric.araujo, hagen, tarek
Priority: normal Keywords:

Created on 2010-09-17 13:19 by hagen, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (4)
msg116660 - (view) Author: Hagen Fürstenau (hagen) Date: 2010-09-17 13:19
"LANG=C python3 setup.py build_scripts" chokes on UTF-8 encoded scripts. The problem is that "copy_scripts" uses "open" without specifying an encoding. This issue may be related to #9561.
msg116991 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2010-09-20 22:21
Does POSIX mandate an encoding when using the C locale?
msg117032 - (view) Author: Hagen Fürstenau (hagen) Date: 2010-09-21 06:51
Why does this matter? PEP 3120 specifies UTF-8 as the default source encoding.
msg117044 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2010-09-21 10:33
Okay.  Then this bug is part of #9561.