This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [glibc x gettext] Bad po files ?


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

-- 
 Rodrigo Barbosa (morcego)         - rodrigob at conectiva.com.br
 Conectiva R&D Team                - http://distro.conectiva.com.br
 "Quis custodiet ipsos custodiet?" - http://www.conectiva.com

PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]