Perl: the Markov chain saw | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
"use utf8;" is needed if your source code is actually in UTF8 encoding. It does not affect regex matches. Perl does not have UTF8 semantics, but instead Unicode semantics. The difference is that you work on *encodingless* strings in Perl, and that you use *normal* operators instead of separate ones. The important things are done internally. Please read the Perl Unicode Tutorial and the Perl Unicode FAQ. The following ought to suffice: Unicode::Semantics works around a bug that causes the second half of latin1 to be ignored under certain circumstances. In reply to Re: Unicode substitution regex conundrum
by Juerd
|
|