[glibc x gettext] Bad po files ?

Rodrigo Barbosa (aka morcego) rodrigob@conectiva.com.br
Thu Apr 19 11:59:00 GMT 2001


On Thu, Apr 19, 2001 at 08:47:35PM +0200, Andreas Jaeger wrote:
> Bruno Haible <haible@ilog.fr> writes:
> 
> > Andreas Jaeger writes:
> > > "Rodrigo Barbosa (aka morcego)" <rodrigob@conectiva.com.br> writes:
> > 
> > > > Looks like zh_TW.po is also buggy. The error follow, both from msgfmt and
> > > > iconv:
> > > > 
> > > > $ msgfmt zh_TW.po -o zh_TW.gmo
> > > > zh_TW.po:563: invalid control sequence
> > > > zh_TW.po:564: end-of-line within string
> > 
> > This is a different issue: It's a PO file which has extraneous
> > backslashes (in particular, after the chinese word "allowed").
> > That particular ideograph has a second byte == 0x5C in the big5
> > encoding. Such extraneous backslashes were needed with earlier
> > (non-multibyte aware) versions of msgfmt.
> > 
> > The fix is to change 0x5C 0x5C into 0x5C in those lines where msgfmt
> > complains.
> 
> Here's a patch.  Will this work with gettext 0.10.35 or do we require
> 0.10.36 now?
> 
> Shall I commit this?

Works perfectly with gettext 0.10.36 ...

Tkx Andreas

[]s

-- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE63zV2n5NdOMMM/nERAhjCAJ9evcmF/LXPbBLOF6ObRd6kcAPBagCg4mCT
EdwayOTTHB9gilcI8UzcKAE=
=4I9V
-----END PGP SIGNATURE-----


More information about the Libc-alpha mailing list