OCSG - Error In Sending SMS With Trademark Symbol(TM™) (Doc ID 2293039.1)

Last updated on AUGUST 02, 2017

Applies to:

Oracle Communications Services Gatekeeper - Version and later
Information in this document applies to any platform.


When trying to send SMS which is having unicode string (sample text content - TM™) via ParlayX SMS plugin, below error message was got:

DEBUG [Wed Jul 12 23:33:00] sms.interceptor.BinarySMSInterceptor : [Plugin_px21_short_messaging_smpp_mt_inst#wlng_nt_sms_px21#] Method Name:createOutboundMessage
DEBUG [Wed Jul 12 23:33:00] core.budget.BudgetService : Master synchronization performance statistics for budget APPg/oracle.ocsg.parlayrest.plugin.ParlayRestSmsPlugin/createOutboundMessage/VFMiddlewareSp/VFMiddleWareApp. Reused: [Samples: 2, Min: 0, Avg: 0, Max: 0] times. Enqueued: [Samples: 2, Min: 0, Avg: 0, Max: 0] ms. Get master: [Samples: 2, Min: 0, Avg: 0, Max: 0] ms. Synchronize: [Samples: 2, Min: 2, Avg: 2, Max: 2] ms. Queue depth: [Samples: 2, Min: 0, Avg: 0, Max: 0]
ERROR [Wed Jul 12 23:33:00] proxy.util.GsmCharset : [Plugin_px21_short_messaging_smpp_mt_inst#wlng_nt_sms_px21#] exception-thrown int oracle.ocsg.plugin.sms.smpp.proxy.util.GsmCharset.encode(char)( ™ )
java.io.CharConversionException: The character '™' (\u2122) is not represented by the GSM default alphabet.
  at oracle.ocsg.plugin.sms.smpp.proxy.util.GsmCharset.encode(GsmCharset.java:2422)
  at oracle.ocsg.plugin.sms.smpp.proxy.util.GsmCharset.encode(GsmCharset.java:1513)
  at oracle.ocsg.plugin.sms.smpp.proxy.util.GsmShortMessageUtils.encodeMessage(GsmShortMessageUtils.java:497)

How to handle this?


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms