如何处理从文本文件中读取的字符串
CStdioFile file;
char buff[256];
file.Open("Book1.txt",CFile::modeRead|CFile::typeText);
int n = file.GetLength();
UINT nBytesRead =file.Read(buff,256);
CString str;
str.Format("%s",buff);
MessageBox(str);
弹出的对话框中显示的字符串的内容是乱码?请问这是怎么回事?