解决了。只要保存为ASCI码,不用做其他处理就行了。

Signed-off-by: dmy@lab <dmy@lab.lab>
This commit is contained in:
dmy@lab
2015-01-08 10:31:58 +08:00
parent bdb5c72fa2
commit d7e28294db
5 changed files with 53 additions and 3 deletions

View File

@@ -175,7 +175,7 @@ void ElementHashtable::ShowContainerInfo(const QString& fileName)
{
QString relPath="./../output/";
relPath+=fileName+".txt";
QFile file(relPath.toLocal8Bit());
QFile file(relPath);
if(file.open(QFile::WriteOnly|QFile::Text))
{
QTextStream stream(&file);