Follow

Send messages in different languages

CommzGate supports message sending in various languages, even Chinese and Japanese.

To send messages in languages that contain non-ASCII characters, you can send the messages in Unicode.

 

You simply need to set the message type parameter, Type=U. (U for Unicode)

The message content MUST be converted and sent as double-byte UTF-16.

 

Example, to send the Character 人, a sample HTTP (or HTTPS) request would be as follows,

https://www.commzgate.net/gateway/SendMsg?ID=00000000&Password=XXXXXXXXX&Mobile=65xxxxxxxxx&Type=U&Message=4EBA

 

(4EBA is the UTF-16 code for the character 人)

 

It is possible to mix ASCII characters and Unicode characters within a single message. 

In this case, you must set Type=U and treat the whole message as a Type U message.

 

Note: For message with Type U, you must send the message body as double-byte UTF-16.

1 Comments

  • Avatar
    dakui_521
    Edited by dakui_521
Please sign in to leave a comment.