From: vsr Date: Tue, 5 May 2015 11:59:30 +0000 (+0300) Subject: 0023090: [CEA 1510] Error at Salome launch with Japanese language X-Git-Tag: V7_6_0rc1~15 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f97146650479e1172ced7dba227382a2e203c4ad;p=modules%2Fgeom.git 0023090: [CEA 1510] Error at Salome launch with Japanese language --- diff --git a/src/GEOMGUI/GeometryGUI.cxx b/src/GEOMGUI/GeometryGUI.cxx index e63305ce2..3e61afba7 100644 --- a/src/GEOMGUI/GeometryGUI.cxx +++ b/src/GEOMGUI/GeometryGUI.cxx @@ -1751,8 +1751,8 @@ bool GeometryGUI::activateModule( SUIT_Study* study ) else { PyObjWrapper result = PyObject_CallMethod(pluginsmanager, (char*)"initialize", (char*)"isss", 1, "geom", - tr("MEN_NEW_ENTITY").toStdString().c_str(), - tr("GEOM_PLUGINS_OTHER").toStdString().c_str()); + tr("MEN_NEW_ENTITY").toUtf8().data(), + tr("GEOM_PLUGINS_OTHER").toUtf8().data()); if ( !result ) PyErr_Print(); }