You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The flag --encode-output-strings, or -eos, is now set 'on' by default.
This has no effect on the use of the 'perltidy' binary script, but could
change the behavior of some programs which use the Perl::Tidy module on
files encoded in UTF-8. If any problems are noticed, an emergency fix
can be made by reverting to the old default by setting -neos. For
an explanation of why this change needs to be made see:
Hi,
when I have UTF8 chars on my code, they get corrupted when using your extension
perltidy
command.Please note that this only happens when using your extension. If I use the
perltidy
command line, the UTF8 characters are respected.The simplest Perl script that shows this behaviour is this:
After the
perltidy
extension command is executed, the áé characters are corrupted.The
.perltidyrc
file is this. With an empty file the same behaviour is observed.Best regards,
Perl version:
Perl::Tidy version:
The text was updated successfully, but these errors were encountered: