Salome HOME
Unicode support: correct handling of unicode on GUI level
[modules/gui.git] / src / SPlot2d / SPlot2d_ViewModel.cxx
index f890ca74cf19fe2622e92832d55414e857670587..0d8250f24822a3322f53d1bee0caac6b8a493205 100644 (file)
@@ -85,7 +85,7 @@ void SPlot2d_Viewer::rename( const Handle(SALOME_InteractiveObject)& IObject,
     }
 
     if( aCurve && aCurve->hasTableIO() && aCurve->getTableIO()->isSame( IObject ) )
-      aCurve->getTableIO()->setName( newName.toLatin1() );
+      aCurve->getTableIO()->setName( newName.toUtf8() );
   }
   aViewFrame->updateTitles();
 }