|
-
Oct 17th, 2010, 05:45 PM
#2
Re: Unicode to string
I would assume that you already know how to read a text file, e.g. with a StreamReader or with File.ReadAllText or the like. Any time you do anything that involves reading or writing text in files, you can accept the default encoding or you can specify the encoding you want. Check the documentation for any way you care to read text and you'll find an overload that lets you provide an Encoding object. You just have to provide the appropriate one, which you can normally get via a property of the Encoding class.
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
|