From da96ac54e3cd503b26f17d30fe9ef18c46a254b6 Mon Sep 17 00:00:00 2001 From: Markus Zolliker Date: Tue, 7 Jul 2026 09:26:24 +0200 Subject: [PATCH] frappy_psi.mercury.IO.communicate: use UTF-8 for cmd and reply --- frappy_psi/mercury.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappy_psi/mercury.py b/frappy_psi/mercury.py index bd958a82..86ee1c0e 100644 --- a/frappy_psi/mercury.py +++ b/frappy_psi/mercury.py @@ -66,7 +66,7 @@ class IO(StringIO): timeout = 5 encoding = 'latin1' - @Command(StringType(), result=StringType(isUTF8=True)) + @Command(StringType(isUTF8=True), result=StringType(isUTF8=True)) def communicate(self, cmd, noreply=False): return super().communicate(cmd, noreply)