I'm trying to send special characters through an http request, now I'm using Loopj as my http client. The problem is that when I try to send special characters i.e. "áéíóú" the request goes out with the characters "·ÈÌÛ˙", this is causing some issues on the server sider.
I've gone through the Loopj code and couldn't find anything relative to recoding my string or anything like it. In the worst case it seems like it would be encoded in UTF-8 which actually supports this characters.
Hope anyone can help.
Best Regards.
Why Don't you use this Approach:
Users of above code says, this code works like charm. And i think if you are facing issues with your approach then you should change your approach to solve your problem. See this Link which i found useful for you: Android default charset when sending http post/put - Problems with special characters
I am guessing you mean AsyncHttpClient library, correct?
AHC defaults to encoding all I/O in UTF-8. Due to the lack of source code, I would point you to investigate the following:
I hope this helps you find the problem quickly.