Hello,
I am asking for a little help about how to get the default string encoding or a link about. The need is to distinguish which is ASCII and which is UTF-8.
Is the best solution to convert the string to ASCII, reencode it and compare it with the original ? That's what I did but sometimes I don't get the real string's length.
This is to be able to know its length in Bytes (about like the problem for the SMS length).
Any help really appreciated. Many thanks
I am asking for a little help about how to get the default string encoding or a link about. The need is to distinguish which is ASCII and which is UTF-8.
Is the best solution to convert the string to ASCII, reencode it and compare it with the original ? That's what I did but sometimes I don't get the real string's length.
This is to be able to know its length in Bytes (about like the problem for the SMS length).
Any help really appreciated. Many thanks