Thanks for your input.the issue here is the input is in utf-8 format. In my code we have two statements$data,$data2.If you observer them there is a difference in both the statements.
In the first statement '-' is printing as it is after decoded.where as in second statement '–' is not printing as it is after decoded.'–' is replaced with another character like ^. I need to print the second statement as it is.
Thank you.
In reply to Re^2: Malformed UTF-8 character (unexpected continuation byte 0x96, with no preceding start byte)
by Yllar
in thread Malformed UTF-8 character
by Yllar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |