|
-
Mar 16th, 2004, 10:02 AM
#1
Thread Starter
New Member
StreamReader & Unicode characters <RESOLVED>
Greetings Gurus!
I'm trying to read text from a file with a StreamReader and the unicode characters are getting lost on the way. How can I get them into a String in my app?
many thanks,
Rach
Last edited by rachel67; Mar 17th, 2004 at 06:48 AM.
-
Mar 16th, 2004, 08:02 PM
#2
first take a look at this and see if it helps
http://vbforums.com/showthread.php?t...hlight=unicode
second, post your code I dunno what you're doing.
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
-
Mar 17th, 2004, 06:47 AM
#3
Thread Starter
New Member
This works:
sr = New StreamReader(infile, System.Text.Encoding.Default)
Thanks for your help
Rach
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
|