[Po4a-commits] "po4a/lib/Locale/Po4a Wml.pm,1.15,1.16"
Nicolas FRANÃOIS
nekral-guest at alioth.debian.org
Sat Jul 11 21:57:31 UTC 2009
Update of /cvsroot/po4a/po4a/lib/Locale/Po4a
In directory alioth:/tmp/cvs-serv17271/lib/Locale/Po4a
Modified Files:
Wml.pm
Log Message:
* NEWS, lib/Locale/Po4a/Wml.pm: Copy {TT}{'file_in_encoder'}
together with {TT}{'file_in_charset'}. This fixes the handling of
non ASCII documents.
Index: Wml.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Wml.pm,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- Wml.pm 2 Mar 2009 19:58:07 -0000 1.15
+++ Wml.pm 11 Jul 2009 21:57:29 -0000 1.16
@@ -131,8 +131,12 @@
close OUTFILE or die "Cannot write $tmp_filename: $!\n";
# Build the XML TransTractor which will do the job for us
+ # FIXME: This is a hack. Wml should inherit from Xhtml if this is
+ # FIXME: needed.
my $xmlizer = Locale::Po4a::Chooser::new("xhtml");
+ # FIXME: There might be more TT properties to be copied
$xmlizer->{TT}{'file_in_charset'}=$self->{TT}{'file_in_charset'};
+ $xmlizer->{TT}{'file_in_encoder'}=$self->{TT}{'file_in_encoder'};
$xmlizer->{TT}{po_in}=$self->{TT}{po_in};
$xmlizer->{TT}{po_out}=$self->{TT}{po_out};
More information about the Po4a-commits
mailing list