Hi,
Please, do you have any tip to detect a string's charset ? This to be able to convert or filter the content of a message which will be sent via SMS.
My need : I have to send by SMS, a message which content is provided by an external device. It's length can change. So I split the content by packets of 160 chars and send them. I have tried Erel's sample too.
But sometimes, one SMS is not send. I think to have detected that the message contains some accented characters. On some devices, the same SMS is sent but other phones won't send it. So, I guess that the number of characters for each SMS depends on the original message's encoding.
I already have tried to filter using GetBytes and reencode with BytesToString but with no luck (I could have not understood the use).
Thanks a lot
Please, do you have any tip to detect a string's charset ? This to be able to convert or filter the content of a message which will be sent via SMS.
My need : I have to send by SMS, a message which content is provided by an external device. It's length can change. So I split the content by packets of 160 chars and send them. I have tried Erel's sample too.
But sometimes, one SMS is not send. I think to have detected that the message contains some accented characters. On some devices, the same SMS is sent but other phones won't send it. So, I guess that the number of characters for each SMS depends on the original message's encoding.
I already have tried to filter using GetBytes and reencode with BytesToString but with no luck (I could have not understood the use).
Thanks a lot
Last edited: