Hello,
.po has "Content-Type: text/plain; charset=utf-8\n" and "Content-Transfer-Encoding: 8bit\n" .
.mo is made from .po using msgfmt -o messages.mo messages.po .
Worked around the issue by using Python rather than executing gettext.
Thank you,
Michael
------------------------------
Michael Le Fevers
------------------------------
Original Message:
Sent: Wed November 25, 2020 11:34 AM
From: SANGAMESH MALLAYYA
Subject: gettext-0.19.8.1-5 not returning when msgstr is multibyte
Hi Michael.
Let us know what encoding the .mo file is having. Please share the .mo file with us.
The message file being used is from any open source package or is it generated from some other source ?
------------------------------
SANGAMESH
Original Message:
Sent: Tue November 24, 2020 10:57 AM
From: Michael Le Fevers
Subject: gettext-0.19.8.1-5 not returning when msgstr is multibyte
Hello,
Having an issue with gettext returning the sent msgid when the msgstr is multibyte (Chinese, Japanese, and/or Korean), all others are working well. Please see the below paste bin from output.
This is on 7100-05-05-1939.
https://pastebin.com/gEVWL4Q3
Thank you,
Michael
#AIXOpenSource