Newbie problem with codecs

derek / nul abuseonly at sgrail.org
Fri Aug 22 04:23:56 EDT 2003


On Fri, 22 Aug 2003 08:14:32 GMT, "Andrew Dalke" <adalke at mindspring.com> wrote:

>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,

I am not concerned about that problem.
I need a pointer to converting utf-16-le to text

Derek




More information about the Python-list mailing list