setlocale(LC_ALL,"Chinese-simplified"); m_fs.open(strPath.GetBuffer(), std::ios::out ); 在open之前加上此句即可!