D dotNeter Jun 29, 2006 #1 I have a file with non-ISO extended-ASCII format, but my program only reads ISO ascii characters. How to do? thx
I have a file with non-ISO extended-ASCII format, but my program only reads ISO ascii characters. How to do? thx
J Jon Skeet [C# MVP] Jun 29, 2006 #2 dotNeter said: I have a file with non-ISO extended-ASCII format, but my program only reads ISO ascii characters. How to do? Click to expand... You'll need to know *exactly* which encoding the file is in - which code page, in other words. Then use Encoding in conjunction with a StreamReader. See http://www.pobox.com/~skeet/csharp/unicode.html for more information.
dotNeter said: I have a file with non-ISO extended-ASCII format, but my program only reads ISO ascii characters. How to do? Click to expand... You'll need to know *exactly* which encoding the file is in - which code page, in other words. Then use Encoding in conjunction with a StreamReader. See http://www.pobox.com/~skeet/csharp/unicode.html for more information.