I use external API to migrate some data to my application. All data in JSON format. And there are links to images in this data.
The problem is that some links has HTML encoding sequences instead of real symbols. E.G:
What i got:
externalApiPath/live/userfiles/Image/img_CS FSTD(H).300 AMC1 cont`d_1.PNG
What i want to get:
externalApiPath/live/userfiles/Image/img_CS FSTD(H).300 AMC1 cont`d_1.PNG
And I can't get the image by placing externalApiPath/live/userfiles/Image/img_CS FSTD(H).300 AMC1 cont`d_1.PNG
link in the browser. But I can do it with externalApiPath/live/userfiles/Image/img_CS FSTD(H).300 AMC1 cont`d_1.PNG
.
So they replaced `
symbol with `
code. What I need to do to covert all ISO 8859-1 codes in the whole text to the corresponding symbols.