[Po4a-devel]Re: [Po4a-commits] po4a po4a-normalize,1.17,1.18

Martin Quinson martin.quinson@imag.fr
Sat, 6 Nov 2004 17:09:18 +0100


--Q68bSM7Ycu6FN28Q
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Nov 06, 2004 at 09:29:03AM +0000, Jordi Vilalta wrote:
> Update of /cvsroot/po4a/po4a
> In directory haydn:/tmp/cvs-serv26756
>=20
> Modified Files:
> 	po4a-normalize=20
> Log Message:
> Added the -M option to po4a-normalize
>=20
>=20
> Index: po4a-normalize
> =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-normalize,v
> retrieving revision 1.17
> retrieving revision 1.18
> diff -u -d -r1.17 -r1.18
> --- po4a-normalize	19 Jul 2004 10:21:12 -0000	1.17
> +++ po4a-normalize	6 Nov 2004 09:29:01 -0000	1.18
[..]
> @@ -144,6 +151,8 @@
>  -e $filename || die sprintf(gettext("File %s does not exist."),$filename=
)."\n";
> =20
>  $parser->read($filename);
> +$parser->{TT}{utf_mode} =3D 1;
> +$parser->{TT}{file_in_charset} =3D $mastchar;
>  $parser->parse();
>  $parser->write('po4a-normalize.output');
>  $parser->writepo('po4a-normalize.po');

What about a function in transtractor allowing to set the mastchar ? I'd
prefer to leave the modification of the {TT} internals to the library code,
not the binaries one.


Thanks, Mt.

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

iD8DBQFBjPctSJAMsfOxudIRAgXMAJ0Yutc8+A6hZmMv6od9QSgK5Sb8IACfWSnl
R/30JcdNGpoEiiuav37T8sI=
=0eZS
-----END PGP SIGNATURE-----

--Q68bSM7Ycu6FN28Q--