demexp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Demexp-dev] Character encoding


From: David MENTRE
Subject: Re: [Demexp-dev] Character encoding
Date: Mon, 22 Oct 2007 09:18:23 +0200

Hello Thomas,

2007/10/22, Thomas Petazzoni <address@hidden>:
> The string you mention is encoded in ISO-8859-1 (or ISO-8859-15) : the
> special character é is encoded on one byte only, so it's not UTF-8.

I'm not sure of that. If you look at the Unicode table for Latin1
(http://www.unicode.org/charts/PDF/U0080.pdf), the encoding of é is
00E9 (p. 7).

As the string is explicitly marked as Unicode string (u'string') in
Python, I would say that this indeed an Unicode string, with the é
showed in hexadecimal.

Yours,
d.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]