Encoding Problem
Issue #26
new
Hi there, Ashutosh!
I'm getting JSON response, from java, with a wrong encoding, like this: "São Sebastião do Alto", should be: "São Sebastião do Alto". (lat=-22.0188454 lon=-42.1287049)
I easly solved it rewriting httpGET() method call to force a parameter CharSet to be passed to InputStreamReader();
But... I was wondering if it was the best way instead of using "addRequestProperty("Content-Language", this.lang);" like I said at rfc2616 14.11 Content-Encoding.
What do you think?
Great job Dude!
Thx!!!
Comments (1)
-
repo owner - Log in to comment
Hi, thanks for reaching out to me. And apologies for the late response. I wasn't able to work on this lib for long time, but finally I have decided to work on it and make it the full-featured lib. for OpenWeatherMap.org
I have shifted the repo. to http://go.aksingh.net/owm-japis. Kindly check it there.
I have rewritten whole lib in Kotlin with better support, thanks to inclusion of new libs.
I will suggest to give a shot to the new release, and create this issue in new repo if it's not resolved.
Hope it helps. Thank you.