Subject: | Umlauts |
German umlauts don't work:
#!/usr/bin/perl
use strict;
use warnings;
use String::Random qw(random_regex);
print random_regex "ü[ü]";
prints "ü�" instead of "üü".
Debian etch
perl: This is perl, v5.8.8 built for i486-linux-gnu-thread-multi
libstring-random-perl: 0.198-4
uname -a: Linux iserv.dev2.iserv.eu 2.6.26-1-xen-amd64 #1 SMP Fri Mar 13
21:39:38 UTC 2009 x86_64 GNU/Linux
Perl script encoding: utf8, written in vim.