If I send the SMS without any encoding, as the user types it in any language (áéíóú ç ñ), as most of the characters aren't in the GSM-7 encoding, it will look like "aéiou c ñ" in the recipients mobile phone. I've been finding out how has the text to be like and found it has to be encoded into UTF-16 encoding (Unicode) looking like "00E100E900ED00F300FA00200
I'd prefer the script in PHP.
An example of all above:
If I write "Mañana iré a la tintorería" in Spanish and send it as it is, without any encoding, I'll receive in my selfphone only the characters and symbols which are in the GSM-7 encoding (Mañana ire a la tintoreria), but that's not the proper way. Now I write the same and click on Send, then my script converts the plain text into a SMS valid UTF-16 (00E100E900ED...) so I'll receive a SMS with the same text I previously wrote (Mañana iré a la tintorería).
Main Topics
Browse All Topics





by: ahoffmannPosted on 2009-06-13 at 01:18:10ID: 24618209
> The final result has to look like 00480065006C006C006F002C0 ..
this is correct
Keep in mind that this must be the binary (Unicode, aka UTF-16) representation of your data. DId you probably use that as characters?