0

My project is in delphi code.

I'm get some rest response from a call.

But in the response we have some encode values.

{

    href: https://gemshop1.ccvshop.be/api/rest/v1/Categories/22470262/
    id: 22470262
    name: "raär"
    description: "Iet's mët rààr"
    position: 4
    show_on_website: true
    deeplink: http://gemshop1.ccvshop.be/raär
    children: [ ]

}

Like the property 'name' and 'description' are encode. How can I decode raär into raär?

I've use THTMLEncoding.HTML.Decode but that did not work.

On HTML unicode utf-8 I get a list of entity like ä encoded to ä

Is there a function like THTMLEncoding.HTML.Decode that do the job. Or must I replace with StringReplace

Community
  • 1
  • 1
Ravaut123
  • 2,764
  • 31
  • 46

0 Answers0