[reportlab-users] utf-8 characters

Chris Withers reportlab-users@reportlab.com
Mon, 03 May 2004 08:34:01 +0100


David Bourillot wrote:
> Exception type: exceptions.UnicodeDecodeError
> Exception message: 'utf8' codec can't decode byte 0xc3 in position 9:
> unexpected end of data
> 
> After some little investigation, it's seems to me that when the string is
> split, it's cut between the two bytes of the encoded character 'à'

That would seem unlikely, but maybe ask on the python list for confirmation.

Could it be tha tyou have non-UTF-8 data in your UTF-8 string?

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk