See inside. It supports every character that is visible on a standard US keyboard. Special characters aren't supported but could be easily added if you wanted to make the encoded number 1.5 to 3 times as large.
It doesn't have case detection, but I think that's fine. Once (or if) the ST adds that in as a block, it's ready to support that with only a little modification. This is based on hexidecimal ascii, but as far as I'm aware scratch doesn't consider hexidecimal numbers to be numbers (for cloud storage) so I had to go with decimal encoding instead.