Bug 40656 - Bad multibyte chars in japanese .po-file
Bad multibyte chars in japanese .po-file
Product: Red Hat Raw Hide
Classification: Retired
Component: xmms (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Depends On:
  Show dependency treegraph
Reported: 2001-05-15 06:24 EDT by Enrico Scholz
Modified: 2014-03-16 22:20 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-05-16 15:50:15 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Enrico Scholz 2001-05-15 06:24:42 EDT

Description of Problem:

xmms fails to rebuild because msgfmt fails on po/ja.po.

How Reproducible:


Steps to Reproduce:
1. LANG=C rpm --rebuild xmms-1.2.4-15.src.rpm

Actual Results:
file=./`echo ja | sed 's,.*/,,'`.gmo \
  && rm -f $file && PATH=../src:$PATH /usr/bin/msgfmt -o $file ja.po
ja.po:1675: invalid multibyte sequence
ja.po:3110: invalid multibyte sequence
ja.po:3167: invalid multibyte sequence
ja.po:3212: invalid multibyte sequence
ja.po:3265: invalid multibyte sequence
found 5 fatal errors
make[2]: *** [ja.gmo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2

Additional Information:
$ rpm -q gettext glibc

$LINGUAS is unset
Comment 1 Bill Nottingham 2001-05-15 12:10:10 EDT
Hm, it builds fine with the 7.1 gettext. Trond, has gettext changed significantly
in this regard?
Comment 2 Håvard Kvålen 2001-05-16 15:43:12 EDT
The strings it fails on are input strings.  These are in ISO-8859-1 and does
indeed contain sequences that are not legal EUC-JP.
Comment 3 Trond Eivind Glomsrxd 2001-05-16 15:50:10 EDT
Yes, gettext has changed significantly wrt. handling of Japanese (multibyte) -
to use the old style, use  OLD_PO_FILE_INPUT=yes
Comment 4 Bill Nottingham 2001-06-19 16:25:09 EDT
This should be fixed in the current rawhide xmms (1.2.4-16)

Note You need to log in before you can comment on or make changes to this bug.