Salome HOME
Unicode support: correct handling of unicode on GUI level
[modules/gui.git] / src / SOCC / SOCC_ViewModel.cxx
index 3981d50cb38a676e4053c042453ff10450085f09..aa9ed64b2ae762a1e6ff5c917690352d20bc55fa 100755 (executable)
@@ -259,7 +259,7 @@ void SOCC_Viewer::rename( const Handle(SALOME_InteractiveObject)& obj,
         Handle(SALOME_InteractiveObject) IO = aSh->getIO();
         if ( IO->isSame( obj ) )
         {
-          aSh->setName( name.toLatin1().data() );
+          aSh->setName( name.toUtf8().data() );
           break;
         }
       }