Bug 40972 - msgmerge corrupts input strings in korean and japanese po files
msgmerge corrupts input strings in korean and japanese po files
Product: Red Hat Linux
Classification: Retired
Component: gettext (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Trond Eivind Glomsrxd
Aaron Brown
Depends On:
  Show dependency treegraph
Reported: 2001-05-16 16:13 EDT by Håvard Kvålen
Modified: 2007-04-18 12:33 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-05-16 16:21:24 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 Håvard Kvålen 2001-05-16 16:13:19 EDT
msgmerge destroys some input strings in japanese and korean .po files.

A way to reproduce this, is to create this string in an input file: "i". 
In my case the input files are in ISO-8859-1.  After running msgmerge all
po files get updated ok, unless ko.po and ja.po where this string gets
changed to: "i\0" where the "0" is a zero byte (\0).

The problem seems to be this patch:

$ rpm -q gettext
Comment 1 Trond Eivind Glomsrxd 2001-05-16 16:17:52 EDT
Do you have any specific examples?

Nakai, this is the patch you added to make it handle Japanese properly... could
you look into this?
Comment 2 Håvard Kvålen 2001-05-16 16:21:19 EDT
That input string were supposed to consist of the letter "e with acute" (0xe9)
Comment 3 Trond Eivind Glomsrxd 2001-06-04 10:04:11 EDT
Nakai believes this no longer to be a problem with gettext 0.10.37 and above,
currently in Rawhide. Open if this is still a problem.

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