in reply to pattern match hangs on malformed UTF-8 input
But "x\227 " isn't utf8. I changed your snippet to printf "x\0227 " | perl -MDevel::Peek -e 'while (<STDIN>) { Dump($_) }' (with and without utf8 AS 5.6.1/cygwin 5.8.0) and in no case is your input treated like utf8. Can you write a plain-perl version?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: pattern match hangs on malformed UTF-8 input
by y9o (Initiate) on Apr 30, 2003 at 18:00 UTC | |
by diotalevi (Canon) on Apr 30, 2003 at 18:37 UTC | |
by Anonymous Monk on Apr 30, 2003 at 19:04 UTC | |
by diotalevi (Canon) on Apr 30, 2003 at 19:31 UTC | |
by Anonymous Monk on Apr 30, 2003 at 19:06 UTC | |
|
Re: Re: pattern match hangs on malformed UTF-8 input
by y9o (Initiate) on Apr 30, 2003 at 22:08 UTC | |
by diotalevi (Canon) on Apr 30, 2003 at 23:04 UTC | |
|
Re: Re: pattern match hangs on malformed UTF-8 input
by y9o (Initiate) on May 01, 2003 at 13:45 UTC | |
by diotalevi (Canon) on May 07, 2003 at 13:53 UTC |