[Po4a-devel]Re: [Po4a-commits] po4a po4a,1.17,1.18
Martin Quinson
mquinson@ens-lyon.fr
Tue, 17 Aug 2004 16:03:33 -0700
--iFRdW5/EC4oqxDHL
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Tue, Aug 17, 2004 at 10:20:55PM +0000, Jordi Vilalta wrote:
> Update of /cvsroot/po4a/po4a
> In directory haydn:/tmp/cvs-serv10700
>=20
> Modified Files:
> po4a=20
> Log Message:
> Small encoding improvement + cleaning
Mmm. Why to force UTF when the user specified another setting with -M and -=
A?
Mt.
> Index: po4a
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> RCS file: /cvsroot/po4a/po4a/po4a,v
> retrieving revision 1.17
> retrieving revision 1.18
> diff -u -d -r1.17 -r1.18
> --- po4a 16 Aug 2004 23:41:08 -0000 1.17
> +++ po4a 17 Aug 2004 22:20:52 -0000 1.18
> @@ -318,13 +318,15 @@
> my $potfile=3DLocale::Po4a::Po->new();
> foreach my $master (keys %document) {
> my $doc=3DLocale::Po4a::Chooser::new($document{$master}{'format'},%o=
ptions);
> + # We ensure that the generated po will be in utf-8 if the input docu=
ment
> + # isn't entirely in ascii
> + $doc->{TT}{utf_mode} =3D 1;
> =20
> $doc->setpoout($potfile);
> my @file_in_name;
> push @file_in_name, $master;
> $doc->process('file_in_name' =3D> \@file_in_name,
> - 'file_in_charset' =3D> $mastchar,
> - 'addendum_charset' =3D> $addchar);
> + 'file_in_charset' =3D> $mastchar);
> $potfile =3D $doc->getpoout();
> }
> $potfile->write($pot_filename);
--iFRdW5/EC4oqxDHL
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBIo7FSJAMsfOxudIRAriWAKCFTEiqdQhjUyw5AaS3IyzFBml3GQCfWmJb
tfL2En33Zi3IOA9w2XwfdKQ=
=odlh
-----END PGP SIGNATURE-----
--iFRdW5/EC4oqxDHL--