Issue 9887: distutil's build_scripts doesn't read utf-8 in all locales
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) * ![]() |
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) * ![]() |
Date: 2010-09-21 10:33 | |
Okay. Then this bug is part of #9561. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:57:06 | admin | set | github: 54096 |
| 2010-09-21 10:33:34 | eric.araujo | set | status: open -> closed superseder: distutils: set encoding to utf-8 for input and output files |
| 2010-09-21 06:51:20 | hagen | set | messages: + msg117032 |
| 2010-09-20 22:21:28 | eric.araujo | set | messages: + msg116991 |
| 2010-09-17 13:19:51 | hagen | create | |
