Do not force lfun argument to be pure ascii

Fixes bug #11167.

(cherry picked from commit 8e015f3cb2)
This commit is contained in:
Jean-Marc Lasgouttes 2018-07-02 10:49:58 +02:00
parent 5eb4a15579
commit 25e0ca1860
2 changed files with 6 additions and 3 deletions

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);

View File

@ -99,8 +99,6 @@ What's new
- Added C-M-i as a shortcut for LFUN_INSET_SETTINGS (bug 7662).
- Disable completion in text wwhen there is a selection.
* DOCUMENTATION AND LOCALIZATION
@ -176,6 +174,8 @@ What's new
- Disable CheckTeX while buffer is processed (bug 7434).
- Disable completion in text when there is a selection.
- Do not use English, but the context language, when pasting from LaTeX
(bug 9199).
@ -199,6 +199,9 @@ What's new
- Fix crash with server-get-xy and tall inset (bug 8120).
- Fix crash when opening file with non-acii file name in single
instance mode (bug 11167).
- Improve Undo for operations that act on several buffers (bug 10823).
- Improve rendering of square roots in math editor (bug 10814).