[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: Erik Huelsmann <e.huelsmann_at_gmx.net>
Date: 2004-05-13 20:41:16 CEST

> > 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..)

bye,

Erik.

-- 
NEU : GMX Internet.FreeDSL
Ab sofort DSL-Tarif ohne Grundgebühr: http://www.gmx.net/dsl
---------------------------------------------------------------------
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:41:34 2004

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