From: Markus Armbruster Date: Sat, 2 Jul 2011 05:36:07 +0000 (+0200) Subject: Fix execute to print UTF-8 command correctly X-Git-Tag: v4.3.28~31 X-Git-Url: http://git.pond.sub.org/?p=empserver;a=commitdiff_plain;h=d3899f5732d8241c0400a4a623d9ac082c4c3904 Fix execute to print UTF-8 command correctly execute() prints the UTF-8 command as normal text, which messes up non-ASCII characters. Broken in commit 2cc44bb1, v4.2.21. --- diff --git a/src/lib/player/player.c b/src/lib/player/player.c index d93211eb9..03498f6eb 100644 --- a/src/lib/player/player.c +++ b/src/lib/player/player.c @@ -262,7 +262,9 @@ execute(void) failed = 1; continue; } - pr("\nExecute : %s\n", buf); + pr("\nExecute : "); + uprnf(buf); + pr("\n"); if (redir) { pr("Execute : redirection not supported\n"); failed = 1;