-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dies with unicode bare key name #258
Comments
Some notes on unicode support: https://metacpan.org/pod/PPI#Internationalisation |
warn "Converted user name to submission ID → $subid\n";
Update: Aha, no it was a parsing error where the missing closing quote ran up to a Unicode ellipsis character (…) before finding another matching quote, not the "→" I mentioned above. I wouldn't know offhand what to do with |
If you think we can provide better error messaging, a PR would be most welcome. |
First reported with to
Perl::Critic
, since I wasn't sure if the problem was there or here. However, it seems to be reproducible withppidump
(see Perl-Critic/Perl-Critic#948 (comment) ), so I believe this is indeed aPPI
issue.code:
perlcritic:
It does work when I change it to
'Привет' => 1)
I admit to not being 100% certain that you can use a bare unicode key name like this, but the code does seem to work as intended. If so a more useful diagnostic would indicate where the character is located, if that is possible.
The text was updated successfully, but these errors were encountered: