homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Michael.Felt
Recipients Michael.Felt, michael-o, terry.reedy
Date 2018年08月25日.14:33:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1535207631.91.0.56676864532.issue34403@psf.upfronthosting.co.za>
In-reply-to
Content
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')
History
Date User Action Args
2018年08月25日 14:33:51Michael.Feltsetrecipients: + Michael.Felt, terry.reedy, michael-o
2018年08月25日 14:33:51Michael.Feltsetmessageid: <1535207631.91.0.56676864532.issue34403@psf.upfronthosting.co.za>
2018年08月25日 14:33:51Michael.Feltlinkissue34403 messages
2018年08月25日 14:33:51Michael.Feltcreate

AltStyle によって変換されたページ (->オリジナル) /