Commit 8d2c17f7 authored by Mathieu Westphal's avatar Mathieu Westphal

UTF-8 Object name support

parent c6cf9c8f
......@@ -178,6 +178,9 @@ void pqEventRecorder::start()
// Set the device
this->Stream.setDevice(this->File);
// Set UTF8 Codec
this->Stream.setCodec("UTF-8");
// Set the Stream to the Observer
this->ActiveObserver->setStream(&this->Stream);
......
......@@ -377,6 +377,7 @@ void pqPlayBackEventsDialog::onStarted(const QString& filename)
this->Implementation->Ui.logBrowser->append(QString("Start file : %1").arg(
infoFile.fileName()));
QTextStream stream(&file);
stream.setCodec("UTF-8");
this->Implementation->Ui.currentFileLabel->setText(infoFile.fileName());
while(!stream.atEnd())
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment