[I18n-sig] UTF-8 decoder in CVS still buggy

Fredrik Lundh Fredrik Lundh" <effbot@telia.com
Sat, 2 Sep 2000 19:22:05 +0200


mal wrote: 
> >>> unicode('\xC0\x80','utf-8')
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
> UnicodeError: UTF-8 decoding error: illegal encoding
> >>> unicode('\x2F\x2E\x2E\x2F','utf-8')
> u'/../'
> >>> unicode('\x2F\xC0\xAE\x2E\x2F','utf-8')
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
> UnicodeError: UTF-8 decoding error: illegal encoding
> >>> 
> 
> ... so what's buggy about the codec ?

nothing -- francois posted under a misleading subject,
without checking the code first.

(and I never write buggy code anyway ;-)

</F>