My Oracle Support Banner

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

Last updated on JULY 28, 2023

Applies to:

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

Goal

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#wlng_nt_sms_px21#5.0.0.1.1] Method Name:createOutboundMessage
DEBUG [Wed Jul 12 23:33:00] core.budget.BudgetService : Master synchronization performance statistics for budget <user>/oracle.ocsg.parlayrest.plugin.ParlayRestSmsPlugin/createOutboundMessage/<sp>/<app>. 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#wlng_nt_sms_px21#5.0.0.1.1] 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?
 

Solution

To view full details, sign in with your My Oracle Support account.

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


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.