+ fixes unicode support in expression engine
This commit is contained in:
@@ -112,7 +112,7 @@ bool ExpressionBinding::apply(const std::string & propName)
|
||||
if (!docObj)
|
||||
throw Base::Exception("Document object not found.");
|
||||
|
||||
Gui::Command::doCommand(Gui::Command::Doc,"App.getDocument('%s').%s.setExpression('%s', '%s')",
|
||||
Gui::Command::doCommand(Gui::Command::Doc,"App.getDocument('%s').%s.setExpression('%s', u'%s')",
|
||||
docObj->getDocument()->getName(),
|
||||
docObj->getNameInDocument(),
|
||||
path.toEscapedString().c_str(),
|
||||
|
||||
Reference in New Issue
Block a user