Salome HOME
0023090: [CEA 1510] Error at Salome launch with Japanese language
authorvsr <vsr@opencascade.com>
Tue, 5 May 2015 12:01:34 +0000 (15:01 +0300)
committervsr <vsr@opencascade.com>
Tue, 5 May 2015 12:01:34 +0000 (15:01 +0300)
src/SMESHGUI/SMESHGUI.cxx

index d899939..b781cba 100644 (file)
@@ -4754,7 +4754,7 @@ bool SMESHGUI::activateModule( SUIT_Study* study )
     PyErr_Print();
   }
   else {
-    PyObjWrapper result = PyObject_CallMethod( pluginsmanager, (char*)"initialize", (char*)"isss",1,"smesh",tr("MEN_MESH").toStdString().c_str(),tr("SMESH_PLUGINS_OTHER").toStdString().c_str());
+    PyObjWrapper result = PyObject_CallMethod( pluginsmanager, (char*)"initialize", (char*)"isss",1,"smesh",tr("MEN_MESH").toUtf8().data(),tr("SMESH_PLUGINS_OTHER").toUtf8().data());
     if ( !result )
       PyErr_Print();
   }