From: Steve Hancock Date: Sun, 22 Mar 2020 21:35:29 +0000 (-0700) Subject: default encoding reset to be 'guess' X-Git-Tag: 20200619~121 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=6bdc9331306b7581de1aa89bc20f740598433b6b;p=perltidy.git default encoding reset to be 'guess' --- diff --git a/bin/perltidy b/bin/perltidy index ab77be59..9c69542f 100755 --- a/bin/perltidy +++ b/bin/perltidy @@ -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. +The current default is B. 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 diff --git a/lib/Perl/Tidy.pm b/lib/Perl/Tidy.pm index 90c3092a..90abd8c5 100644 --- a/lib/Perl/Tidy.pm +++ b/lib/Perl/Tidy.pm @@ -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