Paulino wrote:
> Yes that is the problem.
> 
> But I canot control all the the encodings in every PC that the script is 
> to be run...

The problem is in your *editor* not in Python. You have to control the 
encoding the *editor* expects. At least that is my guess - your 
complaint is that you can't find a way to represent the character that 
displays correctly in editors on both platforms.

In other words, if you have a Python file that includes characters in 
cp1252 and you open the file in an editor that expects utf-8, it will 
not display correctly.

Kent

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to