166
Views
1
Comments
REST API Encoding problem
Question
Application Type
Reactive
Platform Version
11.21.0 (Build 39357)

Hi All,

OutSystems use ISO-8859-1 as default charset to consume REST API. We can have the workaround to explicitly convert to UTF-8, as discussed in forum: 
- https://www.outsystems.com/forums/discussion/71480/consume-rest-api-encoding-problem-deepl-rest-api/

- https://www.outsystems.com/forums/discussion/16634/rest-encoding-problem/
Apart from this workaround, it there any global settings or configuration to default to UTF-8? I try to avoid this conversion in every APIs connection.

Regards,

George



2022-01-13 11-06-04
Neha Sheikh
Champion

Hi George,

I don't think we have a global setting or Config to set the default to UTF-8. You have to do it using logic. You can create your config and do this at the app level.

There are forge components that do this conversion. You can use them. Pls have a look over the below forge component :

https://www.outsystems.com/forge/component-overview/14066/encode-utils-o11

https://www.outsystems.com/forge/component-overview/10488/utf8-encode-o11#:~:text=Makes%20it%20easy%20to%20convert,characters%20that%20were%20not%20decoded.


Thanks,

Neha

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.