Salome HOME
Unicode support
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_NodesDlg.cxx
index 3a2d3308cf06fa7f83de4d86bf823f68627e7dab..6900743272a5a9acd875ca1eb93f00b273048ac4 100644 (file)
@@ -100,7 +100,7 @@ namespace SMESH
     try {
       _PTR(SObject) aSobj = SMESH::FindSObject( theMesh );
       SMESH::SMESH_MeshEditor_var aMeshEditor = theMesh->GetMeshEditor();
-      theMesh->SetParameters( theParameters.join(":").toLatin1().constData() );
+      theMesh->SetParameters( theParameters.join(":").toUtf8().constData() );
       aNodeId = aMeshEditor->AddNode( x, y, z );
       if (TVisualObjPtr aVisualObj = SMESH::GetVisualObj( aSobj->GetID().c_str() ) ) {
         aVisualObj->Update( true );