Salome HOME
Unicode support
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_GroupUtils.cxx
index 2584d2b4f9929c30365d769045be7c894d55c2d4..ec8fa4ad8d02be3b981d23080475307079650a89 100644 (file)
@@ -42,7 +42,7 @@ namespace SMESH
     SMESH::SMESH_Group_var aGroup;
     try {
       if ( !theMesh->_is_nil() )
-        aGroup = theMesh->CreateGroup( theType, theGroupName.toLatin1().data() );
+        aGroup = theMesh->CreateGroup( theType, theGroupName.toUtf8().data() );
     }
     catch( const SALOME::SALOME_Exception& S_ex ) {
       SalomeApp_Tools::QtCatchCorbaException( S_ex );