I have below string,
this is a test international àáâä
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.