Text this: Near-capacity variable length coding