in reply to Reguar expressions and french characters
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.
Perl 6 in German -- Difficult Sudoku