How to get character encoding correct on Google App Engine | MacGyver Development

I've been having endless trouble trying to force a particular encoding for some content on the Google App Engine. It was complicated by my Mac's insistence on MacRoman, but even when forcing a file encoding of UTF-8 my web pages would still show up with funny ?s all over the shop.

The Spring CharacterEncodingFilter described in the linked blog post did the trick. Can you think of any other way of doing this without a filter?

Posted on May 22, 2013 and filed under dev.