$city = "Sprîngfíèld"; use utf8; utf8::upgrade($city); utf8::encode($city); print $city;