Michael Felt <aixto...@felt.demon.nl> added the comment:
It might be as simple as what I saw for AIX: diff --git a/Lib/test/test_utf8_mode.py b/Lib/test/test_utf8_mode.py index 26e2e13ec5..3e918fd54c 100644 --- a/Lib/test/test_utf8_mode.py +++ b/Lib/test/test_utf8_mode.py @@ -219,6 +219,8 @@ class UTF8ModeTests(unittest.TestCase): check('utf8', [arg_utf8]) if sys.platform == 'darwin' or support.is_android: c_arg = arg_utf8 + elif sys.platform.startswith("aix"): + c_arg = arg.decode('iso-8859-1') else: c_arg = arg_ascii check('utf8=0', [c_arg], LC_ALL='C') so, adding below might be all that is needed: + elif sys.platform == "hpux": + c_arg = arg.decode('roman8') ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue34403> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com