CampCherry User Forum - All Discussions
Forum: Not signed in (Sign In)



    • CommentAuthorlifetron
    • CommentTimeNov 2nd 2009
     
    Hi,

    Can anyone give some examples of how to send Chinese SMS?

    I have downloaded the latest Web API guide but I was unsuccessful in sending Chinese SMS.

    I am using POST method. For a normal text message, the URL would look like such:
    http://www.commzgate.net/gateway/SendMsg?ID=YourIDg&Password=YourPassword&Mobile=6598888888&Message=test&Type=A

    So would a Chinese SMS look as such according to the example in the Web API guide?
    http://www.commzgate.net/gateway/SendMsg?ID=YourIDg&Password=YourPassword&Mobile=6598888888&Message=4EBA&Type=U
    •  
      CommentAuthoradmin
    • CommentTimeNov 3rd 2009
     
    Hi Lifetron, you are absolutely right.
    The "4EBA" in the example is a UTF16 encoded version of the Chinese character. (UCS2 encoded to be more technically accurate but you can use UTF-16)
    • CommentAuthorlifetron
    • CommentTimeNov 12th 2009
     
    Hi,

    So will the message send to the server look as such?

    http://www.commzgate.net/gateway/SendMsg?ID=YourIDg&Password=YourPassword&Mobile=6598888888&Message=4EBA&Type=U
    •  
      CommentAuthoradmin
    • CommentTimeNov 13th 2009
     
    Yes, that's right!

 



Copyright © 2001-2010 Pacific Synergy Pte Ltd. All Rights Reserved. Contact Us   |   Customer Login