Print encoding problems in console

2011-07-15 Thread Pedro Abranches
ascii' codec can't encode character u'\xe9' in position 0: ordinal not in range(128) So, python is not being able to detect the encoding of the output in a situation like that, in which the python script is called not directly but around ``. Why does happen? Is th

Regular expression problem

2008-06-22 Thread abranches
t won't work. I could resolve this problem in a couple of python lines, but I really would like to solve it with regular expressions. Thanks, Pedro Abranches -- http://mail.python.org/mailman/listinfo/python-list