Fix typos "uft" -> "utf"

This commit is contained in:
Steve Nicholson 2019-04-22 13:23:20 -07:00
parent 6297de9492
commit cd165c9342
4 changed files with 5 additions and 5 deletions

View file

@ -6,12 +6,12 @@ use strict ;
use warnings ;
foreach my $str_utf7 ( @ARGV ) {
my $str_utf7imap = utf7_to_uft7imap( $str_utf7 ) ;
my $str_utf7imap = utf7_to_utf7imap( $str_utf7 ) ;
print qq{mv '$str_utf7' '$str_utf7imap'\n} ;
}
# http://cpansearch.perl.org/src/FABPOT/Unicode-IMAPUtf7-2.01/lib/Unicode/IMAPUtf7.pm
sub utf7_to_uft7imap {
sub utf7_to_utf7imap {
my ( $s ) = @_ ;
$s =~ s/\+([^\/&\-]*)\/([^\/\-&]*)\-/\+$1,$2\-/g ;