"Anton Vredegoor" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]

> Yes my header also says UTF-8. However some kind person send me an e-mail 
> stating that 
> since I am getting \x94 and such output when using repr (even if str is 
> giving correct 
> output) there could be some problem with the XML-file not being completely 
> UTF-8. Or is 
> there some other reason I'm getting these \x94 codes?

Well that rather depends on what you are doing. If you take utf-8, decode
it to Unicode, then re-encode it as cp1252 you'll possibly get \x94. OTOH,
if you see '\x94' in a Unicode string, something is wrong somewhere. 


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to