I have file with UTF-8 simbols in it.
I use some code to replace something.
And whan it saves the file utf-8 doesnt save.
It makes c ž š to ?
Can someone please help me.
I use this code:
StreamReader reader = new StreamReader("file.txt");
string content = reader.ReadToEnd();
reader.Close();
content =
StreamWriter
writer.Write(content);
writer.Close();
VulpesPosted Apr 18, 2011, 6:04 AM
Janis PeksaPosted Apr 18, 2011, 6:39 AM
Janis PeksaPosted Apr 18, 2011, 6:29 AM