Unicode

Benjamin Kaplan benjamin.kaplan at case.edu
Mon Dec 17 04:28:03 EST 2012


On Mon, Dec 17, 2012 at 12:59 AM, Anatoli Hristov <tolidtm at gmail.com> wrote:
>> What happens when you do use UTF-8?
> This is the result when I encode the string:
> " étroits, en utilisant un portable extrêmement puissant—le plus
> petit et le plus léger des HP EliteBook pleine puissance—avec un
> écran de diagonale 31,75 cm (12,5 pouces), idéal pour le
> professionnel ultra-mobile.
> "
> No accents
>>
>> What do you mean, "use UTF-8"?
>
> Trying to encode the string
>>

What's your terminal's encoding? That looks like you have a CP-1252
terminal trying to output UTF-8 text.



More information about the Python-list mailing list