thanks for your reply.
Original Message:
Sent: Thu July 11, 2024 06:31 AM
From: Ayappan P
Subject: Issues with aix server using yum in Japanese environments
I don't see IBM-943 supported in any python versions. This is for python 2.7 --> https://docs.python.org/2.7/library/codecs.html#standard-encodings
Yum uses python 2.7 only , not 3.7 as I mentioned in my previous thread.
------------------------------
Ayappan P
Original Message:
Sent: Thu July 11, 2024 01:21 AM
From: De Quan Qu
Subject: Issues with aix server using yum in Japanese environments
So it's because python versions aren't compatible with character sets? Can upgrading to a later version solve this issue? But it works fine in English, and the python version on the server is 2.7, not 3.7.
------------------------------
De Quan Qu
Original Message:
Sent: Wed July 10, 2024 06:12 AM
From: Ayappan P
Subject: Issues with aix server using yum in Japanese environments
Not all encodings are supported by python.
Here is the list of supported encodings by python 3.7 (since you are using yum) --> https://docs.python.org/3.7/library/codecs.html#standard-encodings
------------------------------
Ayappan P
Original Message:
Sent: Tue July 09, 2024 10:20 PM
From: De Quan Qu
Subject: Issues with aix server using yum in Japanese environments
Run the yum list |grep httpd command on an aix machine to return LookupError: unknown encoding: IBM-943 information, if the current environment is Japanese, if run the above yum command in English environment, it properly. Also, if run playbook using ansible, same issue cannot identify IBM-943.
Can someone help me with that? Thanks.
------------------------------
De Quan Qu
------------------------------