Re: non-utf8 po files breaking the build



sön 2002-11-24 klockan 19.36 skrev Kjartan Maraas:
> > > ok here is the final version.
> > > 
> > > for F in `grep -l 'charset=[^U]' *.po` ; do msgconv -t UTF-8 $F -o $F.utf && mv $F.utf $F; done
> > > 
> > > Files differing only by their timestamp dont get committed anyway.
> > > msgconv takes care of changing charset=utf-8 to charset=UTF-8.
> > 
> > I think this would be mostly ok, but perhaps inverse matching on a full
> > "charset=UTF-8" would be more failsafe than just inverse matching on an
> > initial U in the charset.
> > Otherwise, if Kjartan agrees, please go ahead.
> 
> I agree. It would be nice if we could fix this at commit time though,
> and it would clearly be the nicest solution for the translators.

Yes. I have no clue about cvs internals though, so I'm not even sure how
that could be arranged.

But I think it's the right strategy that Yanko goes ahead and fixes this
for all non-UTF-8 po files now, since some of them may even be
unmaintained and never converted in a commit otherwise.


Christian





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