Jon Ribbens <jon+use...@unequivocal.eu> writes:

> On 2020-03-06, moi <wxjmfa...@gmail.com> wrote:
>> Le jeudi 5 mars 2020 13:20:38 UTC+1, Ben Bacarisse a ÄäCcritÄø :
>>> moi <wxjmfa...@gmail.com> writes:
>>> >>>> 'Ääâ¿'.encode('utf-8')
>>> > b'\xc3\xbf'
>>> >>>> 'Ääâ¿'.encode('utf-16-le')
>>> > b'\xff\x00'
>>> >>>> 'Ääâ¿'.encode('utf-32-le')
>>> > b'\xff\x00\x00\x00'
>>
>>> That all looks as expected.
>> Yes
>>
>>>Is there something about the output that puzzles you?
>> No
>>
>>>Did you have a question?
>> No, only a comment
>>
>> This buggy language is very amusing.
>
> What's the bug, or source of amusement?

The bug is in the mental world of the OP.
--
Pieter van Oostrum
www: http://pieter.vanoostrum.org/
PGP key: [8DAE142BE17999C4]
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to