I am really tired :) of trying a number iof things. Here is my problem.
1] I have file which is text / html.
2] This file contains KOI8-R characters and as I understand its Unicode.
3] I am trying to read it using StreamReader sr = new StreamReader(file);
while ((read = sr.ReadLine()) != null)
4] The application opens it and reads fine but I loose original content menaing when I read and write
line to some output I am not getting what is in input file.
I tried also some decoding / encoding but why should I in the first place :) if the only thing I need is to read this KOI8-R file and write original data into output file or may be insert into SQL 2005 ?
In other words I would get original data from input having KOI-8 (Unicode 650001) into my output file or SQL 2005 table.
I am lost completely.
Thank you in advance.