|
-
January 27th, 2005, 03:52 AM
#1
Problem with reading ANSI text file...
I read from ANSI text file (saved from notepad(winXP) with default encoding ANSI).There are cyrilic words in file.I read it with StreamReader("TestFile.txt") and File.OpenText ReadLine()
but there are problems with cyrilic words.incorrectly read only cyrilic words.
if file saved in UTF-8 or Unicode there aren't problems. but i need to read from ANSI encoded text files!
i think i saw in msdn OpenText works only with UTF-8 encodinc files..
i think i need some preencoding ANSI in UTF-8.. or..
Suggest me something..
Thx
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
|