[Tutor] Unicode trouble

Øyvind python at kapitalisten.no
Thu Dec 1 10:32:01 CET 2005


Michael Lange wrote:

>> I haven't read all of this thread, but maybe you are trying to pass a
>> non-utf8 string to the utf8 codec?

>Yes, I guess that much is pretty clear - there is some data in the source
>file that is not valid utf-8.

I tried the error='replace' as you suggested and the program made it thru
the list. However, here are some results:

the gjenoppl�et gjenoppl�
from
the gjenoppløst	det gjenoppløste

kan v� konsentrert
from
kan være konsentrert

I did check the site http://www.columbia.edu/kermit/utf8.html and the
letters that is the problem here are a part of the utf-8.

Is there anything else I could try?

Thanks in advance



-- 
This email has been scanned for viruses & spam by Decna as - www.decna.no
Denne e-posten er sjekket for virus & spam av Decna as - www.decna.no



More information about the Tutor mailing list