Lenny Domnitser’s

⇙ Jump to content


This is a static archive of the domnit.org blog,
which Lenny Domnitser wrote between 2006 and 2009.

Slip of Tongue

I, the other day: “It’s a text file. You can just un-rot-13 it to see…”

I caught myself right away, but to be fair, un-rot-13 is not always an awkward alias for rot-13. Python:

>>> type(u'spam'.encode('rot-13'))
<type 'str'>
>>> type(u'eggs'.decode('rot-13'))
<type 'unicode'>