From 4850129bdbdfa930a5fc0c2bd9b35331c4bbd600 Mon Sep 17 00:00:00 2001 From: vsr Date: Tue, 5 May 2015 15:01:34 +0300 Subject: [PATCH] 0023090: [CEA 1510] Error at Salome launch with Japanese language --- src/SMESHGUI/SMESHGUI.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } -- 2.39.2