Use PERL_UNICODE to fix encoding to UTF-8

needed by xpath