TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
scyphe666
NA
48
0
StreamReader/Writer - change encoding?
Aug 3 2004 8:30 PM
I've got a template.txt which I'm using to create a new textfile from with inserted data. The problem is that using StreamReader/StreamWriter just use UTF8 which doesn't get all characters used in the template: ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ¦ ¯¯¦¯ ¯¯¦¯ ¯¯¦¯ ¯¯¦¯ ¯¯¦¯ ¯¯¦¯ ¯¯¦¯ ¯¯¦¯ ¯¯¦¯ ¯¯¦¯ ¯¯¦¯ ¯¯¦¯ ¯¯¦ ¯¦_¦¯¯¦_¦¯¯¦_¦¯¯¦_¦¯¯¦_¦¯¯¦_¦¯¯¦_¦¯¯¦_¦¯¯¦_¦¯¯¦_¦¯¯¦_¦¯¯¦_¦¯¯¦_¦¯ (formatting in forum mess it up) The only thing the StreamReader/Writer pass on to the newly created .txt-file is blanks (or nothing). I've checked around MSDN etc. but found no answer how to set the encoding to unicode with StreamReader/Writer.... Any help would be gratefully recieved.
Reply
Answers (
1
)
View database fields in listView
How to switch to a new WIN pageframe