One of the REST API value is Arabic language. when i run the swagger, it is displaying properly. but when i trying to display in Outsystem UI, it is not coming properly. like it is not readable format (عÙÙ ØØ³Ù Ù ØÙ د عÙÙ Ø§ÙØµÙÙÙ ).
Can anybody please help me on this to resolve?
Note: i was tried to overwrite the Charset as utf-8. that is also not helped to sort out.
Thanks in Advance.
Hi Valantina,
This is indeed likely caused by the Charset not being explicitly set, in which case OutSystems unfortunately does not assume utf-8 as default. Setting the Charset in the OnBeforeRequest doesn't work, as the Platform has already interpreted the data as something else than utf-8.
To fix this, the solution in this very old post by João Rosado still works. You need to reconvert the binary to text using "utf-8", then assign that to the ResponseText.
@Kilian Hekhuis Thank you for prompt help. It is working fine now.
I was seen that post before. But I thought it is only for binary data (I am looking for text value - name attribute only. Not whole response text).
Thank you so much :)
You're most welcome, glad I could be of help!