in reply to Reguar expressions and french characters

If you don't know the encoding if the external file you are lost. Binary data without a receipt how to interpret it is rather useless.

If you know a few possible encodings you can use Encode::Guess, which works fairly well for large files and central european languages.

Read Encode and perluniintro to understand the basic ideas.

  • Comment on Re: Reguar expressions and french characters