We're trying to consume a ODATA services via ODATA V4 Adapter to fetch PDF content as raw Binary format,but the services is sending some encoding characters(<½Óú¬µ„PÄO“VÅvz„LY•e“5)which is getting formatted as �<������P�O�V�vz�LY�e�5.
We have tried options in groovy to fetch the content as raw format via Reading payload as an java.io.InputStream, stream object:
referred this blog(https://blogs.sap.com/2019/07/15/handling-text-files-in-groovy-script-of-cpi-sap-cloud-platform-integration./) and still receive the same content.
How can we set these parameters in the ODATA Receiver CPI Adapter or in Groovy to extract the UTF-8 format?
Please help to provide your Valuable inputs.