commit 8e015f3cb2879f625895cee10a19ec5796027d44
Author: Jean-Marc Lasgouttes <[email protected]>
Date: Mon Jul 2 10:49:58 2018 +0200
Do not force lfun argument to be pure ascii
Fixes bug #11167.
---
src/Server.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/Server.cpp b/src/Server.cpp
index a83911d..52eebfe 100644
--- a/src/Server.cpp
+++ b/src/Server.cpp
@@ -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);