On Sat, Nov 06, 2004 at 09:29:03AM +0000, Jordi Vilalta wrote:
Update of /cvsroot/po4a/po4a
In directory haydn:/tmp/cvs-serv26756
Modified Files:
po4a-normalize
Log Message:
Added the -M option to po4a-normalize
Index: po4a-normalize
===================================================================
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";
$parser->read($filename);
+$parser->{TT}{utf_mode} = 1;
+$parser->{TT}{file_in_charset} = $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.