Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-8002

determineAlphabet only considers GSM 3.38 or UCS2

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.12.2
    • Fix Version/s: None
    • Component/s: camel-smpp
    • Labels:
      None
    • Environment:

      n/a

    • Patch Info:
      Patch Available
    • Estimated Complexity:
      Unknown

      Description

      SmppSmCommand.determineAlphabet(Message) tries to work out which SMPP alphabet code is suitable for encoding the message text.

      It checks if GSM 3.38 can represent all the characters in the message and if not it just uses UCS2 (UTF-16).

      This is less than optimal. Many messages using European languages can not be encoded in GSM 3.38 but they can be coded in Latin1, which is also supported by SMPP (data_coding / alphabet numeric code for Latin1 is 3)

      The jSMPP library (Alphabet.java) does not currently know about the alphabet code 3.

      I proposed a patch for jSMPP and if it is accepted then camel-smpp should be updated to use it. I already started writing a patch against camel-smpp. Here is the jSMPP patch:

      https://github.com/uudashr/jsmpp/pull/39

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                daniel.pocock Daniel Pocock
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: