Merge pull request #176 from SSteve/uft_typos

Fix typos "uft" -> "utf"
This commit is contained in:
Gilles LAMIRAL 2019-04-23 00:37:07 +02:00 committed by GitHub
commit eafd200ec0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

2
TODO
View file

@ -551,7 +551,7 @@ Usage: --maxlinelength 9900 maxlinelengthcmd 'reformime -r7'
DONE. Add DavMail in Similar Softwares section. http://davmail.sourceforge.net/
DONE. Convert folder names to utf-8 and print them next to the uft-7 ones.
DONE. Convert folder names to utf-8 and print them next to the utf-7 ones.
Look at imapsync/W/learn/
./imap_utf7 data_utf7

View file

@ -1571,7 +1571,7 @@ All foldernames are presented between brackets like [X] where X is the foldernam
When a foldername contains non-ASCII characters it is presented in the form
[X] = [Y] where
X is the imap foldername you have to use in command line options and
Y is the uft8 output just printed for convenience, to recognize it.
Y is the utf8 output just printed for convenience, to recognize it.
END_LISTING

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 ;

View file

@ -1666,7 +1666,7 @@ All foldernames are presented between brackets like [X] where X is the foldernam
When a foldername contains non-ASCII characters it is presented in the form
[X] = [Y] where
X is the imap foldername you have to use in command line options and
Y is the uft8 output just printed for convenience, to recognize it.
Y is the utf8 output just printed for convenience, to recognize it.
END_LISTING