in reply to Text::Iconv module usage

It looks to me that the perl script correctly converts from UTF-8 to UTF-8 (and I get the same output as you). What is the problem with that output ?

I gather that the iconv command that you ran did not produce the desired result, but we don't know what was in "originalfile" to begin with.

Cheers,
Rob