#!/usr/bin/perl use strict; use warnings; use encoding 'utf8'; my $str = "abc123äöüß"; print $str;