Hi everyone,
I’m populating some popupmenus with JSON data I’m getting from a web service. This data has some URL Encoded characters like in the string: “S%C3%A3o Paulo”
However when I run DecodeURLComponent on these strings I end up with characters that do not display properly in the UI:
This should show up as: São Paulo
To complicate matters further, I still need to retain the original encoding because it will need to be submitted back to the web service in the same format in order to be understood.
Any idea how to get these characters to display properly?