|
-
Jan 7th, 2009, 03:12 PM
#1
Thread Starter
Addicted Member
[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
-
Jan 7th, 2009, 03:18 PM
#2
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.
-
Jan 7th, 2009, 03:29 PM
#3
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.
-
Jan 7th, 2009, 03:34 PM
#4
Thread Starter
Addicted Member
Re: [2008] How can i make my Program support some letters?
 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.
-
Jan 7th, 2009, 05:02 PM
#5
Re: [2008] How can i make my Program support some letters?
You can not download data with RegEx.
-
Jan 8th, 2009, 10:00 AM
#6
Thread Starter
Addicted Member
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 ?
-
Jan 8th, 2009, 10:02 AM
#7
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|