in reply to trouble with umlauts
"One problem could be, that i write ö and the other umlauts directly in the perlscript." Try working with the hex values instead of typing the national characters in the Perl script.