Fixed Scene being loaded with Latin1 charset instead of UTF-8

preferencesAboutTextFull
Craig Watson 9 years ago
parent d09729c30a
commit 37be70af8a
  1. 2
      src/adaptors/UBSvgSubsetAdaptor.cpp

@ -331,7 +331,7 @@ QUuid UBSvgSubsetAdaptor::sceneUuid(UBDocumentProxy* proxy, const int pageIndex)
UBGraphicsScene* UBSvgSubsetAdaptor::loadScene(UBDocumentProxy* proxy, const QByteArray& pArray)
{
UBSvgSubsetReader reader(proxy, UBTextTools::cleanHtmlCData(QString(pArray)).toLatin1());
UBSvgSubsetReader reader(proxy, UBTextTools::cleanHtmlCData(QString(pArray)).toUtf8());
return reader.loadScene();
}

Loading…
Cancel
Save