From f97146650479e1172ced7dba227382a2e203c4ad Mon Sep 17 00:00:00 2001 From: vsr Date: Tue, 5 May 2015 14:59:30 +0300 Subject: [PATCH] 0023090: [CEA 1510] Error at Salome launch with Japanese language --- src/GEOMGUI/GeometryGUI.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); } -- 2.39.2