'make update-po' breaks multibyte .po file



Hello, I'm new to here.

msgmerge in gettext-0.10.35 doesn't recognize multibyte,
so it breaks the multibyte chars when it rebreaks long lines.

(AA, BB: multibyte chars)

msgstr "...........AABBAABBAABB"

will be

msgstr ""
"..............AAB"
"BAABBAABB"

And oops. Sometimes it may be unable to compile after msgmerge.

So, I think we should someting like this:

- Don't msgmerge. Especially, before the new release.
- Use a patch I append here. (But it is just for EUC-JP...)
- Do nothing and don't mind translators' oops.
  (This will discourage the translator volunteer people, though.)

It is also a good idea to move to UTF-8 and make a patch for UTF-8,
but it may cause other problems...

Thanks,
--
Yukihiro Nakai, Red Hat Japan, Development

Attachment: gettext-0.10.35-oka-plus.patch
Description: Binary data



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