Subject: | Workaround lack of Unicode supprot in PPI |
PPI does not currently support Unicode, but instead supports only Latin-1. A file that begins with a Unicode byte order mark causes PPI parsing to fail, and thus Perl::Critic croak()s on that file. It would be useful if there were a way to fail gently on unparseable content so, for example, Test::Perl::Critic could fail gracefully.
See also RT bug 15353 which reports the BOM failure in PPI.
--Chris