News for hackers. Stuff that matters.
Re:WTFPython – Understanding Python through surprising snippets by the_mitsuhiko on Monday December 23, 2019 @01:59PM (#21866145)
External encoding: what it reads and writes from and to files

Internal encoding: what the strings are encoded in memory (latin1/UCS2/UCS4 in python)

Secondary buffer: python strings can be encoded twice. They can hold a secondary encoded version if themselves as utf-8.

There are no comments on this comment yet.