From: vsr Date: Tue, 5 May 2015 12:01:34 +0000 (+0300) Subject: 0023090: [CEA 1510] Error at Salome launch with Japanese language X-Git-Tag: V7_6_0rc1~17 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4850129bdbdfa930a5fc0c2bd9b35331c4bbd600;p=modules%2Fsmesh.git 0023090: [CEA 1510] Error at Salome launch with Japanese language --- diff --git a/src/SMESHGUI/SMESHGUI.cxx b/src/SMESHGUI/SMESHGUI.cxx index d89993957..b781cba00 100644 --- a/src/SMESHGUI/SMESHGUI.cxx +++ b/src/SMESHGUI/SMESHGUI.cxx @@ -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(); }