[Po4a-commits] po4a/lib/Locale/Po4a Po.pm,1.27,1.28

Jordi Vilalta po4a-devel@lists.alioth.debian.org
Wed, 25 Aug 2004 00:42:52 +0000


Update of /cvsroot/po4a/po4a/lib/Locale/Po4a
In directory haydn:/tmp/cvs-serv5854/lib/Locale/Po4a

Modified Files:
	Po.pm 
Log Message:
Changed to_utf() name to the more concrete to_utf8()


Index: Po.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Po.pm,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- Po.pm	18 Aug 2004 01:38:22 -0000	1.27
+++ Po.pm	25 Aug 2004 00:42:50 -0000	1.28
@@ -304,7 +304,7 @@
     }
 
     if ( $poorig->get_charset =~ /^utf-8$/i ) {
-	$potrans->to_utf;
+	$potrans->to_utf8;
 	$pores->set_charset("utf-8");
     } else {
 	if ($potrans->get_charset eq "CHARSET") {
@@ -575,7 +575,7 @@
     return $res;
 }
 
-=item to_utf()
+=item to_utf8()
 
 Recodes to utf-8 the po's msgstrs. Does nothing if the charset is not
 specified in the po file ("CHARSET" value), or if it's already utf-8 or
@@ -583,7 +583,7 @@
 
 =cut
 
-sub to_utf { 
+sub to_utf8 { 
     my $this = shift;
     my $charset = $this->get_charset();