I have this text file in attached with this names (UTF8):
This file is read by a server app that returns JSON to consume in a WebService Rest in my App.
If connect to a web server using the Chrome browser in my phone, the return is OK (with accents in names):
but If I using my app to connect, I get the invalid characteres in names:
I'm using this example:
https://www.b4x.com/android/forum/threads/webservice-rest.73466/#post-466819
and OkHttpUtils2 2.61 library.
I tried with Download, Download2, Job.GetString, Job.GetString2("UTF8") and StringUtils.DecodeUrl(Job.GetString, "UTF8"), but I don't get the names correctly.
How can I fix this problem?
Thanks in advance for any tip.
B4X:
Lúcio Fábio, Sistemas e Soluções, Maria José, Antônio José
This file is read by a server app that returns JSON to consume in a WebService Rest in my App.
If connect to a web server using the Chrome browser in my phone, the return is OK (with accents in names):
but If I using my app to connect, I get the invalid characteres in names:
I'm using this example:
https://www.b4x.com/android/forum/threads/webservice-rest.73466/#post-466819
and OkHttpUtils2 2.61 library.
I tried with Download, Download2, Job.GetString, Job.GetString2("UTF8") and StringUtils.DecodeUrl(Job.GetString, "UTF8"), but I don't get the names correctly.
How can I fix this problem?
Thanks in advance for any tip.