Search posts, tags, users, and pages
Doogal Simpson
"hey doogal, what is .... ?"
TL;DR: CPython stores strings using PEP 393 (Flexible String Representation) rather than UTF-8. It selects a fixed width of 1, 2, or 4 bytes per character based on the widest character present. If an
Markdown supported · ⌘↵ to post
No responses yet.