Package: perltidy
Version: 20140328-1
Severity: wishlist
File: /usr/share/man/man1/perltidy.1p.gz
X-Debbugs-cc: perlt...@users.sourceforge.net

On http://perltidy.sourceforge.net/BUGS.html we read
"Perltidy does not handle UTF-8 encoded files".

Well that should be
"Perltidy does not handle UTF-8 encoded variable names".

Quite different!

Anyway, the Debian perltidy man page could mention:

Workaround for perltidy not handling UTF-8 encoded variable names:

$ echo 'use utf8; $h{段}=1;'|perl -c
- syntax OK
$ echo 'use utf8; $h{段}=1;'|perltidy
## Please see file perltidy.ERR
use utf8; $h{段}=1;
$ echo 'use utf8; $k="段"; $h{$k}=1;'|perltidy
use utf8;
$k = "段";
$h{$k} = 1;

Else one little UTF-8 character could stall ones whole project workflow.


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to