UTF16 to UTF8 conversion

UTF16 to UTF8 conversion SearchSearch
Author Message
Anonymous
Posted on Tuesday, September 02, 2003 - 03:43 pm:   

Hi!

In certain regions SMSC forward SMS to GW as UTF16. This is problem for applications that are expecting UTF8. Do you have any support for autoconvert or are you planning such thing?

Antti
Bryce Norwood - NowSMS Support
Posted on Friday, September 05, 2003 - 06:56 pm:   

Hi Antti,

When SMS messages contain characters that are outside of the GSM character set defined in ETSI GSM 03.38 (this character set basically includes English characters, some accented characters, symbols and Greek characters) ... then the message has to be encoded in 16-bit Unicode (UTF-16).

We handle this automatically. Applications using an HTTP interface to connect to NowSMS use UTF-8 ... but if the characters represented in the message need to be converted to/from UTF-16, we do that.

-bn