This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author malin
Recipients malin, matpi
Date 2020-06-16.13:03:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1592312623.22.0.71380135637.issue40980@roundup.psfhosted.org>
In-reply-to
Content
It seems you don't know some knowledge of encoding yet.

Naturally, `bytes` cannot contain character which Unicode code point is greater than \u00ff. So you can only use "latin1" encoding, which map from character to byte (or reverse) directly.

"utf-8", "utf-16" and "utf-32" are all encoding codecs, "utf-8" should not have a special status in this scene.
History
Date User Action Args
2020-06-16 13:03:43malinsetrecipients: + malin, matpi
2020-06-16 13:03:43malinsetmessageid: <1592312623.22.0.71380135637.issue40980@roundup.psfhosted.org>
2020-06-16 13:03:43malinlinkissue40980 messages
2020-06-16 13:03:43malincreate