bug-gettext
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gettext] xgettext commadn does not edit the PO file header char


From: Bruno Haible
Subject: Re: [bug-gettext] xgettext commadn does not edit the PO file header charset
Date: Sun, 30 Sep 2018 23:02:36 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-134-generic; KDE/5.18.0; x86_64; ; )

Hello,

Hadi Farah wrote:
> I am trying to write 2 PO files using GNU xgettext utility and then merging
> using msgcat, however when I call the merge command I get an error because
> the charset value in the headers of my PO file are set to charset=CHARSET.
> ... msgcat to give this error: "present charset "CHARSET" is not a portable 
> encoding name"

When you use xgettext to combine the two POT files, you don't get
such an error:

  xgettext -o combined.pot part1.pot part2.pot

I agree that it would be nice if 'msgcat' would do this as well. But this
should be a reasonable alternative.

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]