Using ord() hadn't occurred to me at all -- thanks for the tip! I will definitely keep that in mind for future tweet jams :D
(I might also refactor this entry, but I've spent the last three days obsessing over character counts, so a break would be nice :p)