Corion has written a really clear description of the various issues involved with non-ascii characters and how to work with them in Perl: see Character Encodings in Perl. That version is targeted at a North American audience. If you read German, the original German version is targeted more to the European context and can be found at Charsets oder „Warum funktionieren meine Umlaute nicht?”.