in reply to Perl encoding problem

If you want to use literal utf8 characters in your source code (literal strings, regexes etc), then you need to tell the perl interpreter that the source code should be treated as utf8 by adding 'use utf8;' at the top of your script.

Dave.