Can not read turkish characters from text file to string array
问题 I am trying to do some kind of sentence processing in turkish, and I am using text file for database. But I can not read turkish characters from text file, because of that I can not process the data correctly. string[] Tempdatabase = File.ReadAllLines(@"C:\Users\dialogs.txt"); textBox1.Text = Tempdatabase[5]; Output: 回答1: You can fiddle around using Encoding as much as you like. This might eventually yield the expected result, but bear in mind that this may not work with other files. Usually,