Unable to send SMS with Chinese character using API

Unable to send SMS with Chinese character using API

You are here:
  • Main
  • SMS
  • Unable to send SMS with Chinese character using API
← All Topics

Issue

Unable to send SMS with chinese character using API

 

Symptoms

Gets the result return -36 and those sent out SMS messages were fail to receive.

 

Cause

The setting was incorrect.

 

Workaround

The settings that you need to set when you post to our gateway
content_type” = 2
msg” = converted to Hexadecimal format

 

Additional Information 

If you message contains mixture of English and Chinese character, you would need to send it as Chinese message

Here is some example of conversion : a converted to hexadecimal is 0061, 人 converted to hexadecimal is 4EBA

For sample code in VB.NET, kindly download it here – http://www.trio-mobile.com/document/samplecodehex.zip