Begining of encoded text string

Begining of encoded text string SearchSearch
Author Message
Wang
Posted on Thursday, October 02, 2003 - 08:47 am:   

could anybody tell me: if a UTF8 encoded string begins with a binary value more than 128 (say,It's a Chinese string), should I encoded it as "Value length + 0xEA + 0xFF + the string"? or just "Value length + 0xEA + the string"? I can't find such information from WSP-230.
thanks!
Bryce Norwood - NowSMS Support
Posted on Thursday, October 09, 2003 - 08:25 pm:   

My interpretation is that it depends on the rule that is defined for the field that you are encoding.

If the defined WSP encoding is "Text-string", then it is clear that yes, you must include a quote character to start your string.

If the defined WSP encoding is "Token-text", then you would not do this.