
28 Nov
2006
28 Nov
'06
9:01 p.m.
On Nov 24, 2006, at 4:15 PM, Daniel Pope wrote:
bulia byak wrote:
- The python file had some French Unicode symbols on which my Python
interpreter choked. Please translate the comments to English.
There's a magic character set header in Python: http://docs.python.org/ref/encodings.html
I don't know whether comments in French are acceptable or not, but there's no reason for them to make Python fall over.
In general, keeping source files to pure ASCII (values from 0 through 127) is a good target for code safety. Otherwise you start to get into many other issues such as source control, archive formats, etc.
English comments will hit the goal of "pure ASCII" 99.9% of the time. The latter is the hard requirement, but the former is a good rule of thumb to get it.