[Python-Dev] PEP 263 -- Python Source Code Encoding

Finn Bock bckfnn@worldonline.dk
Tue, 26 Feb 2002 19:44:39 GMT


[MAL]

>I consider the above PEP ready for review by the developers.
>Please comment.

The pep seems to dictate that the source by default must be read as
latin-1:

"""
Python will default to Latin-1 as standard encoding if no other
encoding hints are given.
"""

Jython already reads the python source with the default java encoding
which usually depends on the PCs locale.

If a small loophole could be added to that requirement, then the pep
have my full support.

regards,
finn