Decoding international chars in AppEngine

Posted by Irro on Stack Overflow See other posts from Stack Overflow or by Irro
Published on 2010-05-02T09:17:09Z Indexed on 2010/05/02 9:27 UTC
Read the original article Hit count: 169

Filed under:
|
|

I'm making a small project in Google AppEngine but I'm having problems with international chars. My program takes data from the user through the url "page.html?data1&data2..." and stores it for displaying later.

But when the user are using some international characters like åäö it gets coded as %F4, %F5 and %F6. I assume it is because only the first 128(?) chars in ASCII table are allowed in http-requests.

Is there anyone who has a good solution for this? Any simple way to decode the text? And is it better to decode it before I store the data or should I decode it when displaying it to the user.

© Stack Overflow or respective owner

Related posts about urldecode

Related posts about java