solve the chinese path problem
This commit is contained in:
@@ -25,7 +25,9 @@ void MyThread::run()
|
||||
|
||||
void MyThread::setPcd(QString str)
|
||||
{
|
||||
pcd = str.toStdString();
|
||||
QTextCodec* code = QTextCodec::codecForName("GB2312");//½â¾öÖÐÎÄ·¾¶ÎÊÌâ
|
||||
pcd = code->fromUnicode(str).data();
|
||||
// pcd = str.toStdString();
|
||||
}
|
||||
|
||||
PointCloud<PointXYZRGB> MyThread::getCloud()
|
||||
|
||||
Reference in New Issue
Block a user