Newbie problem with codecs

Andrew Dalke adalke at mindspring.com
Fri Aug 22 10:14:32 CEST 2003


derek / nul:
>   File "C:\Program Files\Python\lib\encodings\cp850.py", line 18, in
encode
>     return codecs.charmap_encode(input,errors,encoding_map)
> UnicodeEncodeError: 'charmap' codec can't encode character '\ufeff' in
position
> 0: character maps to <undefined>

I don't know enough to handle this problem.  Anyone else care to try?

                    Andrew
                    dalke at dalkescientific.com






More information about the Python-list mailing list