Read plain text with special characters with Gson while using Retrofit
I have to retrieve data from a rest api which just returns a plain String with the text/plain header while using Retrofit. I want to convert the plain String with special characters to a String without removing any of the special characters. The response from the rest API is just something like this:
kjkj32984923hjk/j34jhjk+=
As you can see it is just a plain String without any json formatting. The problem is that parsing this response with Retrofit results in the following error:...