I am getting data in json format from a url. Everything is working perfect, but one small issue is that in the data that I am getting there are some special characters, for example :
Get 50% off on Pizzas between 11am – 5pm.
–
here means that it is '-', but how can I decode it in c# so that it takes it as '-'.
I have tried using Html.decode method, it is working fine with URLs but not with data.
I cannot replace –
with '-' everywhere because this is not a single case, there are other similar characters too.