So, I've got this legacy system running perl 5.6.something on a server I only have ftp access to. I haven't got perl 5.6 running anywhere to test stuff (or even read the docs). Now they need to parse an utf8-encoded RSS stream (which gets stored into the DB for further processing - don't ask...)
How do I decode a utf8 string in perl 5.6 to some iso-8859-* ?
Encode is not installed, utf8::decode doesn't work either. Encode requires 5.7.3, so it's not an option. Hmm, personally I would love to have them update to 5.8 but OTOH it's quite a hassle (recompile mod_perl, reinstall half of CPAN, ...)
Any hints, anyone?