I`m using a server that receive a GET request with a query string that contains double-byte non-latin characters:
Expand|Select|Wrap|Line Numbers
- http://www.example.com?%d7%90
Expand|Select|Wrap|Line Numbers
- String queryString = request.getQueryString();
- queryString = URLDecoder.decode(queryString, "utf-8");
It works fine with > charcater (%3e) though.
I`m using fiddler and firebug to ansure that the url is correctly encoded and compare it with http://www.profitcode.net/resources/tools/utf8_encoder_applet.html
On eclipse I set a breakpoint and see that the queryString is correct but when using URLDecoder only the non-latin character turn to ?.
Is there an alternative or a workaround to URLDecoder?
Thanks