Salome HOME
Unicode support: correct handling of unicode on GUI level
[modules/gui.git] / src / SVTK / SVTK_View.cxx
index 9ee31b1803a78f48ecd3696248ec22f6d7a4e0a3..495b26f6056d8e3ff92b5cd05a9908f99dd60f19 100644 (file)
@@ -335,7 +335,7 @@ SVTK_View
   ForEachIf<SALOME_Actor>(aCopy.GetActors(),
                           TIsSameIObject<SALOME_Actor>(theIObject),
                           TSetFunction<SALOME_Actor,const char*,const char*>
-                          (&SALOME_Actor::setName,theName.toLatin1().data()));
+                          (&SALOME_Actor::setName,theName.toUtf8().data()));
 }
 
 /*!