How to know if string is UTF-8 encoded?
803959Jan 17 2011 — edited Jan 18 2011Hello All,
I have an instance in my application. Where I need to get one parameter from URL. There is possibility that whatever I get as string can be encoded or can be not encoded.
And if its encoded I have to decode it before using.
Can anybody please suggest me the way by which we can identify if particular string is already UTF-8 encoded or not?
Thanks,
Jenish