G Guest Jun 2, 2004 #2 http://msdn.microsoft.com/library/d...s/cpref/html/frlrfsystemiofilememberstopic.as You can show in there, how to access file Jhin-Seok.
http://msdn.microsoft.com/library/d...s/cpref/html/frlrfsystemiofilememberstopic.as You can show in there, how to access file Jhin-Seok.
M Morten Wennevik Jun 2, 2004 #3 Hi flybrid, StreamReader sr = new StreamReader(filepath, System.Text.UnicodeEncoding); string text = sr.ReadToEnd(); sr.Close(); This should get you a string of whatever is inside the file. This sample specifies Unicode as the text format of the file. Happy coding! Morten Wennevik [C# MVP]
Hi flybrid, StreamReader sr = new StreamReader(filepath, System.Text.UnicodeEncoding); string text = sr.ReadToEnd(); sr.Close(); This should get you a string of whatever is inside the file. This sample specifies Unicode as the text format of the file. Happy coding! Morten Wennevik [C# MVP]
J Jon Skeet [C# MVP] Jun 2, 2004 #4 flybrid said: how can I get a string(chinese character) from a text file? Click to expand... Please see my response to your question from yesterday.
flybrid said: how can I get a string(chinese character) from a text file? Click to expand... Please see my response to your question from yesterday.