"use encoding" is broken in several ways, and there will not be a fix soon. Stop using it if you can. And I'm quite sure that you can.
If your source code is UTF-8 encoded, tell Perl by adding "use utf8;". If your input and output must be UTF-8 encoded, tell Perl by adding "binmode STDIN, ':encoding(UTF-8)'; binmode STDOUT, ':encoding(UTF-8)';".
Just don't "use encoding", please.
In reply to Re: utf8, locale and regexp
by Juerd
in thread utf8, locale and regexp
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |