我在txt文件中有这个文字:
[
{
"book_name": "CYRILLIC LETTERS",
"book_id": "Text",
},
{
"book_name": "CYRILLIC LETTERS",
"book_id": "Text",
},
]
当我使用StreamReader读取它时,它正在用问号替换西里尔字母。我该怎么办才能正确阅读?
StreamReader readStream = new StreamReader("D:\\TEST.txt");
string text = readStream.ReadToEnd();
感谢您的帮助!