Ubuntu系统下:
QFile file("/tmp/1.csv");
file.open( QIODevice::WriteOnly);
file.copy("/tmp/2.csv");
file.close();
执行之前,1.csv可以正常显示。 内容如下:
119 2014050701 2014050702 是我izhognguoren 你是什么人呢速度发送对方 2014-05-19 12:42:46
120 2014050701 2014050703 是我izhognguoren 你是什么人呢速度发送对方 2014-05-19 12:42:48
执行完以后,1.csv 跟2.csv 都是乱码,无法正常显示。全是黑色问号:
������������������������������������������������������������������������������������������������������������������������������������������������������