[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Stripping 'charset=' from po files [the sequal]

From: Ben Reser <ben_at_reser.org>
Date: 2004-05-13 20:48:03 CEST

On Thu, May 13, 2004 at 08:41:16PM +0200, Erik Huelsmann wrote:
>
> > > 3) Do you have any comments to either script? (the strip charset script
> > has
> > > to be extended to include plural support before this code can be
> > committed)
> >
> > Uhh isn't that overly complicated? Can't you do something that is
> > roughly similar to the sed script in the Makefile? I'd be really
> > surprised if python couldn't do that. But if it can't you could do it
> > with Perl. The Windows build already requires it.
> >
> > For example:
> > perl -pe 's#^"Content-Type: text/plain; charset=UTF-8\\n"\n$##' es.po >
> > es.po.spo
>
> Yes it can. I just thought I'd do it exact by parsing the po file so that
> no lines outside the "" entry can be eliminated. (Yes, I know chances are
> slim..)

I guess I don't see the point in going to that effort for the Windows
build if we're not going to do it for the (U|u)(N|n)(I|i)(X|x) build.

-- 
Ben Reser <ben@reser.org>
http://ben.reser.org
"Conscience is the inner voice which warns us somebody may be looking."
- H.L. Mencken
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu May 13 20:48:20 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.