Do not force lfun argument to be pure ascii

Fixes bug #11167.
This commit is contained in:
Jean-Marc Lasgouttes 2018-07-02 10:49:58 +02:00
parent 9dcb24d578
commit 8e015f3cb2

View File

@ -1178,7 +1178,7 @@ void Server::callback(string const & msg)
// connect to the lyxfunc in the single GuiView we
// support currently. (Lgb)
FuncRequest fr(lyxaction.lookupFunc(cmd), from_ascii(arg));
FuncRequest fr(lyxaction.lookupFunc(cmd), from_utf8(arg));
fr.setOrigin(FuncRequest::LYXSERVER);
DispatchResult dr;
theApp()->dispatch(fr, dr);