$ perl -MEncode -E'say encode("UTF-8", "\xC3\xB1");' ñ