If JSON must be accommodated, I agree with most of this. Exceot: Thiago Macieira wrote: > US-ASCII text strings
You never need to transport user-visible text? (While JSON escaping is ugly, it's never needed for non-ASCII characters. You only ever need to escape code points U+0000 to U+001F. Of course, you'll need to be prepared for random JSON implementations sending you escaped characters that needn't be, so you need a de-escaper for everything, including the super-ugly non-BMP encoding. But you never have to escape those yourselves.) Gr??e, Carsten