]> git.donarmstrong.com Git - perltidy.git/commitdiff
default encoding reset to be 'guess'
authorSteve Hancock <perltidy@users.sourceforge.net>
Sun, 22 Mar 2020 21:35:29 +0000 (14:35 -0700)
committerSteve Hancock <perltidy@users.sourceforge.net>
Sun, 22 Mar 2020 21:35:29 +0000 (14:35 -0700)
bin/perltidy
lib/Perl/Tidy.pm

index ab77be599e5a60c67a6f3ff5c702ec38cc465d05..9c69542fe6827e299367a090389ffa4fc4dec771 100755 (executable)
@@ -611,7 +611,7 @@ module and this restricted range of guesses covers the most common cases.
 Testing showed that considering any greater number of encodings as guess
 suspects is too risky.
 
-The current default is B<none>.  
+The current default is B<guess>.  
 
 The abbreviations B<-utf8> or B<-UTF8> are equivalent to B<-enc=utf8>, and the
 abbreviation B<-guess> is equivalent to <-enc=guess>.  So to process a file
index 90c3092a5e47c123da87f455a725a889d1182d42..90abd8c5758b41c732447c2fe02f342a2616639e 100644 (file)
@@ -2195,7 +2195,7 @@ sub generate_options {
       nostatic-side-comments
       notabs
       nowarning-output
-      character-encoding=none
+      character-encoding=guess
       one-line-block-semicolons=1
       one-line-block-nesting=0
       outdent-labels