Hi all, Thank you for the reply.
please note that this seems case of mixed encoding.
I have below two string,
1. àáâä #This one doesn't need any extra processing
2. Ã Ã¡Ã¢Ã¤ #This one needs to decode .i.e decode('utf-8',$str) which
+ gives correct result as àáâä
Problem here is, decode works fine for me with second string but with it First string gets double decoded and convert in to some black diamond with question marks symbols.
so is there any way that we can differentiate these two strings and apply decode accordingly.
I hope this time, issue is more clear.