From 09d06d08c6a55abc81557a87a778660f739ba327 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 24 Jul 2017 18:56:26 +0200 Subject: fix #5094 as suggested by reporter --- src/fs/test_gnunet_fs_psd.py.in | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/fs/test_gnunet_fs_psd.py.in') diff --git a/src/fs/test_gnunet_fs_psd.py.in b/src/fs/test_gnunet_fs_psd.py.in index c5966d48a..87fcf1130 100755 --- a/src/fs/test_gnunet_fs_psd.py.in +++ b/src/fs/test_gnunet_fs_psd.py.in @@ -24,6 +24,11 @@ import subprocess import re import shutil +# Force encoding to utf-8, as this test otherwise fails +# on some systems (see #5094). +reload(sys) +sys.setdefaultencoding('utf8') + srcdir = "../.." gnunet_pyexpect_dir = os.path.join (srcdir, "contrib") if gnunet_pyexpect_dir not in sys.path: -- cgit v1.2.3