Help with Latin Characters

Joao Jacome slyerex at
Sun Jul 24 11:15:43 EDT 2011

When the script reaches a file with latin characters (ê é ã etc) it crashes.

Traceback (most recent call last):
  File "C:\backup\ORGANI~1\", line 37, in <module>
  File "C:\backup\ORGANI~1\", line 25, in Retrieve
  File "C:\backup\ORGANI~1\", line 18, in Retrieve
    print l
  File "C:\Python27\lib\encodings\", line 12, in
    return codecs.charmap_encode(input,errors,encoding_map)
UnicodeEncodeError: 'charmap' codec can't encode character u'\x8a' in
position 4
3: character maps to <undefined>

Does someone knows how to fix this?

Thank you!

João Victor Sousa Jácome
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list