How do I replace an unwanted unicode character in my string?

  • Thread starter Thread starter COHENMARVIN
  • Start date Start date
C

COHENMARVIN

I have a string with an unwanted unicode character. It looks like an
'A' with a tilde on top. I looked up a unicode chart on the internet
and the chart says that its represented by Â
So I think that means that the unicode number in base 10 is 194.
So I want to do a String.Replace(mystr,194,''c)
But how do I convert the 194 into a Char, and how do I replace that by
blanks.
Thanks,
Marvin
 
I have a string with an unwanted unicode character.  It looks like an
'A' with a tilde on top.  I looked up a unicode chart on the internet
and the chart says that its represented by  Â
So I think that means that the unicode number in base 10 is 194.
So I want to do a String.Replace(mystr,194,''c)

in vb.net use String.Replace(mystr,chr(194),String.Empty) or
String.Replace(mystr,"À",String.Empty)
 
Back
Top