I still have trouble with this issue. I can't seem to localize it to Eclipse or the browser or the app itself. I don't see how the app could be going wrong since it doesn't do anything to decode or encode going in or out.
For instance, I have the same test case code running as a stand-alone app and as a part of my main app. That same code produces different results for the string 'EspaƱol'. In the stand-alone app case, the word is displayed correctly. However, when I port it to my app, the word is not displayed correctly. I checked that Eclipse is set through and through to be utf-8, which it seems to be. So I don't see how I could be getting different results using the same code, just in different context. @mdp: do you have an example of detecting an input field's or upload file's encoding and then forcing it to utf8? Would you recommend using gluon/decoder.py to do autodetection? Or should I roll my own?