My code uses the String.Replace method to replace various characters that the browser cannot interpret due to encoding
group.Name.Replace("½", "½").Replace("¼", "¼").Replace("¾", "¾").Replace("°", "°").Replace("Â", "")
I know it does not look pretty, and that is why I would like to ask if it would be possible to use a subroutine in an utility class, with an array containing all ascci values from a table like in this page: http://www.econlib.org/library/asciicodes.html
, and then call it from anywhere in my program.
I am not verse in coding something like this, but with a bit of help and guidance I can dare to give it a try.
If anyone could give me a hand with starting the code, if not asking to much, that would be great.
Or at least some direction on how to best approach this issue.
Thank you kindly.