Encoding characters return Json C #

-1

I created a DLL in C # with some HTTP methods (POST, GET, DELETE ...) in order to return a JSON to the calling language (in the case of GET).

Today I use this DLL for applications created in Delphi7.

When I query the API, I'm having trouble with character encoding.

Below is the way that JSON is returned to me.

":[{"municipio":"S\u00e3o Jo\u00e3o Batista","estado":"SC"

In the municipality field the correct one would be "Saint John the Baptist".

What would be the way to return this JSON with the correct accents?

    
asked by anonymous 18.12.2018 / 17:24

0 answers