in reply to Reguar expressions and french characters

as other people have mentioned, you do need to know the encoding of the file to open it correctly.

I'm just posting this to mention that use utf8; does not influence the interpretation of files open()ed in any way - all it does is assume the perl source file it's used in is utf-8 encoded.

See also perlio.

  • Comment on Re: Reguar expressions and french characters