in reply to Odd problems with UTF-8, regexps, and newer Perl versions
For me the problem goes away when I comment out the use encoding 'utf8' line (tested with 5.10.1).
Why do you think you need it? — use utf8 already tells Perl that the script source is in UTF-8 (and you can always use binmode to change layers for STDIN and STDOUT).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Odd problems with UTF-8, regexps, and newer Perl versions
by choroba (Cardinal) on Jun 04, 2010 at 21:33 UTC | |
|
Re^2: Odd problems with UTF-8, regexps, and newer Perl versions
by ablegrape (Initiate) on Jun 04, 2010 at 23:36 UTC | |
by moritz (Cardinal) on Jun 05, 2010 at 06:15 UTC |