From 8e015f3cb2879f625895cee10a19ec5796027d44 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Mon, 2 Jul 2018 10:49:58 +0200 Subject: [PATCH] Do not force lfun argument to be pure ascii Fixes bug #11167. --- src/Server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Server.cpp b/src/Server.cpp index a83911dc69..52eebfeee7 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); -- 2.39.5