[issue9887] distutil's build_scripts doesn't read utf-8 in all locales

2010-09-21 Thread Éric Araujo
Éric Araujo added the comment: Okay. Then this bug is part of #9561. -- components: +Distutils2 resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> distutils: set encoding to utf-8 for input and output files versions: +Python 2.7, Python 3.2

[issue9887] distutil's build_scripts doesn't read utf-8 in all locales

2010-09-20 Thread Hagen Fürstenau
Hagen Fürstenau added the comment: Why does this matter? PEP 3120 specifies UTF-8 as the default source encoding. -- ___ Python tracker ___ __

[issue9887] distutil's build_scripts doesn't read utf-8 in all locales

2010-09-20 Thread Éric Araujo
Éric Araujo added the comment: Does POSIX mandate an encoding when using the C locale? -- ___ Python tracker ___ ___ Python-bugs-list

[issue9887] distutil's build_scripts doesn't read utf-8 in all locales

2010-09-17 Thread Hagen Fürstenau
New submission from Hagen Fürstenau : "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. -- assignee: tarek components: Distutils messages: 116660 no