From d0bbd659dd919e1896ef383751854fcd5f5cd45b Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Fri, 4 Dec 2015 17:01:59 +0100 Subject: [PATCH] Decode expression from UTF-8 --- nvim-remote.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvim-remote.py b/nvim-remote.py index afeb8aa..08e719a 100755 --- a/nvim-remote.py +++ b/nvim-remote.py @@ -133,7 +133,7 @@ def main(): n.server.input(keys) if args.remote_expr and n.attached(): for expr in args.remote_expr: - print(n.server.eval(expr)) + print(n.server.eval(expr).decode()) # If none of the wrapper arguments were given, fall back to normal nvim usage. if all(x is None for x in vars(args).values()):