[RESOLVED] [2008] How can i make my Program support some letters?
Well i have a Program that filters out Text from a site but when Characters like:
ü â ä ö are there it makes them to: ?
How can i make them show right in the Program?
Sorry for my bad English im from Germany :)
Re: [2008] How can i make my Program support some letters?
How are you "filtering out text" from the site? Usually you just have to set the proper encoding, preferably UTF-8.
Re: [2008] How can i make my Program support some letters?
Hm, I'm from Germany too.
Encoding issues can be tough...you have to match the encoding from the site to the way vb displays the string.
Re: [2008] How can i make my Program support some letters?
Quote:
Originally Posted by Atheist
How are you "filtering out text" from the site? Usually you just have to set the proper encoding, preferably UTF-8.
How should I ? I downlod the Site and filter out the Entries with RegEx.
So i do it with RegEx.
Re: [2008] How can i make my Program support some letters?
You can not download data with RegEx.
Re: [2008] How can i make my Program support some letters?
I Download Data with a WebClient
Then i filter out Entries out of the HTML File that was downloaded with RegEx.
But then signs like üäö are ?
Re: [2008] How can i make my Program support some letters?
Try setting the encoding to UTF8.
VB.NET Code:
Dim myWebClient As new System.Net.WebClient()
myWebClient.Encoding = System.Text.Encoding.UTF8