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 ?


"Rodrigo Barbosa (aka morcego)" <rodrigob@conectiva.com.br> writes:

> On Thu, Apr 19, 2001 at 09:34:23AM -0700, Ulrich Drepper wrote:
> > Andreas Jaeger <aj@suse.de> writes:
> > 
> > > If we leave it as it is, we'll get swamped with bug reports when we
> > > release glibc 2.2.3 since installation aborts when the po file is not
> > > uptodate.
> > 
> > Then el.po will not be installed.  If nobody cares to fix it that
> > should be just fine.  But a comment in the .po file describing the
> > problem and don't install it.
> 
> 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
> zh_TW.po:568: invalid control sequence
> zh_TW.po:569: end-of-line within string
> zh_TW.po:745: invalid control sequence
> zh_TW.po:750: invalid control sequence
> zh_TW.po:765: invalid control sequence
> zh_TW.po:770: invalid control sequence
> zh_TW.po:800: invalid control sequence
> zh_TW.po:1632: invalid control sequence
> zh_TW.po:2043: invalid control sequence
> zh_TW.po:2634: end-of-line within string
> zh_TW.po:2953: end-of-line within string
> zh_TW.po:3033: end-of-line within string
> zh_TW.po:3081: end-of-line within string
> zh_TW.po:3222: end-of-line within string
> zh_TW.po:3515: end-of-line within string
> zh_TW.po:4550: invalid control sequence
> zh_TW.po:4549: `msgid' and `msgstr' entries do not both end with '\n'
> zh_TW.po:4750: invalid control sequence
> too many errors, aborting
> 
> $ iconv --from-code=big5 --to-code=iso-8859-1 zh_TW.po -o output
> iconv: illegal input sequence at position 654
> 
> I know I'm not in a very ood position to give any sugestions, but wouldn't it
> be better just to remove these two po files til they are fixed ?

I get the same error with msgfmt - but why is iconv not complaining
with utf-8?

gromit:/usr/src/cvs/libc/po:[0]$ iconv -f big5 -t utf-8 < zh_TW.po > /dev/null
gromit:/usr/src/cvs/libc/po:[0]$ iconv -f big5 -t iso-8859-1 < zh_TW.po > /dev/null
iconv: illegal input sequence at position 830
gromit:/usr/src/cvs/libc/po:[1]$ 

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


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