Text this: Arithmetic, geometry, and coding theory