Re: ÿ in Unicode

Richard Damon Richard at Damon-Family.org
Sat Mar 7 13:09:45 EST 2020


On 3/7/20 12:52 PM, Ben Bacarisse wrote:
> moi <wxjmfauth at gmail.com> writes:
> 
>> Le samedi 7 mars 2020 16:41:10 UTC+1, R.Wieser a écrit :
>>> Moi,
>>>
>>>> Fortunately, UTF-8 has not been created the Python devs.
>>>
>>> And there we go again, making vague statements/accusations - without 
>>> /anything/ to back it up ofcourse
>>>
>>> Kiddo, you have posted a couple of messages now, but have said exactly 
>>> nothing.   Are you sure you do not want to go into politics ?
>>>
>> The day, when this language will stop to interpret a byte
>> as being a Latin-1 (ISO-8859-1) character, this language will
>> start to work properly.
> 
>>>> "ÿ".encode('iso-8859-1')
> b'\xff'
> 

or the reverse.

b'\xff'.decode('iso-8859-1')
'ÿ'

iso-8859-1 just isn't the DEFAULT character encoding to use.


More information about the Python-list mailing list