[Po4a-commits] "po4a/lib/Locale/Po4a TransTractor.pm,1.85,1.86"

Nicolas FRANCOIS nekral-guest at alioth.debian.org
Wed Feb 14 23:39:34 CET 2007


Update of /cvsroot/po4a/po4a/lib/Locale/Po4a
In directory alioth:/tmp/cvs-serv11108/lib/Locale/Po4a

Modified Files:
	TransTractor.pm 
Log Message:
Be case insensitive to match the "ascii" encoding name.


Index: TransTractor.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/TransTractor.pm,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -d -r1.85 -r1.86
--- TransTractor.pm	14 Feb 2007 22:21:41 -0000	1.85
+++ TransTractor.pm	14 Feb 2007 22:39:32 -0000	1.86
@@ -818,7 +818,7 @@
     } else {
 	if (defined($self->{TT}{'file_in_charset'}) and
 	    length($self->{TT}{'file_in_charset'}) and
-	    $self->{TT}{'file_in_charset'} ne "ascii") {
+	    $self->{TT}{'file_in_charset'} !~ m/ascii/i) {
 	    $in_charset=$self->{TT}{'file_in_charset'};
 	} else {
 	    # FYI, the document charset have to be determined *before* we see the first




More information about the Po4a-commits mailing list