I've been thinking that I fully understand the Perl UTF-8 flag and Unicode stuff very well, with the professional experience handling I18N and L10N issues with Perl for more than 5 years.But it turns out that I still have something to learn, or things I've learned recently at least.So here's the code. #!/usr/bin/perl use strict; use warnings; use Encode; use File::Temp qw(tempfile); use XML::RSS;