From 6bdc9331306b7581de1aa89bc20f740598433b6b Mon Sep 17 00:00:00 2001 From: Steve Hancock Date: Sun, 22 Mar 2020 14:35:29 -0700 Subject: [PATCH] default encoding reset to be 'guess' --- bin/perltidy | 2 +- lib/Perl/Tidy.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5