http://qs321.pair.com?node_id=11122000

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks

I have below string,

whereas in one instance i have below two encoded strings of the above string,
  1. this is a test international àáâä
    This one is getting encoded properly to utf8 using module encode utf8 function.
  2. this is a test international ����
    This one gives ??? in the diamond like chars using module encode utf8 function.
It seems that in this instance string is getting double encoded, how we can handle this to work in both the instances.

Thank you.