Today I try to download an XML with TM symbol.
The XML was encoded in UTF8
Reading an XML encoded in UTF8 I obtain a string contain
WebClient client = new WebClient(); string str = client.DownloadString(url);
In str variable, I don’t found TM but â„¢
To get it right use this code:
string rightStr = Encoding.UTF8.GetString(Encoding.Default.GetBytes(str));