reader = new System.IO.StreamReader(localFileNameAndPath);
utf8 = System.Text.Encoding::get_UTF8();
fileContent = utf8.GetBytes(reader.ReadToEnd());
reader.Close();
From above , I am reading a file and for example my first char is Å
SO,
ch = fileContent.GetValue(0);
print fileContent.GetValue(0); // wrong value here
print num2char(ch); // strange char. should be Å
print char2num('Å',1) // should be this value
How can I get the correct value in fileContent.GetValue(0)??
I tried UTF8 and other function those are available..
If anyone have any clue please help.
Thanx
kabir