← Writing

Unicode

1 post

Strings That Change Width

Part 7 of a series on the CPython runtime: how Python 3.7.2 stores a str. PEP 393's three widths, read from the string header, and one emoji that makes a megabyte of log text four megabytes; a UTF-8 copy that C …