Problem to recognize UTF-8 characters through ApiClient Java

Hi there,

I discovered a problem inside ApiClient in Java as when I execute any query, data returned from Purecloud goes well but ApiClient converts this information without specify charset to use. The result includes unrecognized characters (for example: "é" instead of "é").

The problem is when method invokeAPIVerbose inside ApiClient class calls EntityUtils.toString(entity) this param should give us the possibility to add charset manually. An example: EntityUtils.toString(entity, "UTF-8").

I want to know this forum can help me to modify Java SDK in next release.

Thanks in advance.

Thanks for reporting this. I've created API-2562 to track it. Should be an easy fix.

Fixed in 7.1.1

Thanks a lot, but I'm not using platform-client-v2, I'm using platform-client with release version 0.55.4.135.

Which are the differences between boths artifacts ID? Which of them is better and more stable?

Thanks in advance.

The pre-release SDK (the 0.x.x version) is deprecated and does not receive any updates. You need to use the latest version of the new SDK. Here's the notice about this change:

Thanks for the information. I didn't know it.