QFile file("C:/Test/Doc.txt"); if(file.open(QIODevice::ReadOnly)){ QTextStream in(&file); in.setCodec("UTF-8"); while(!in.atEnd()){
確定! 回上一頁