http://www.perlmonks.org?node_id=1170463


in reply to Re: My PerlTidy utility is choking on non-ASCII characters, help me figure out why?
in thread My PerlTidy utility is choking on non-ASCII characters, help me figure out why?

The patches are to convert UTF-8 to an 8-bit encoding, which doesn't work -- the real problem goes much deeper since Perl::Tidy breaks down line input into bytes and processes things byte-by-byte (using maps for the "known 256 chars).... Such maps don't scale so well when you move up to the number of chars in Unicode. It looked to be close to a rewrite of the core code.

It's been an open bug since 2008 and doesn't look easy to fix so it hasn't been.

Expect to see it handle unicode sometime right after perlmonks does. ;-)

  • Comment on Re^2: My PerlTidy utility is choking on non-ASCII characters, help me figure out why?

Replies are listed 'Best First'.
Re^3: My PerlTidy utility is choking on non-ASCII characters, help me figure out why?
by kcott (Archbishop) on Aug 26, 2016 at 12:07 UTC

    ++ Thanks for the feedback.

    — Ken