Updates:
        Status: Fixed

Comment #1 on issue 166 by [email protected]: Checking a string for sending as SMS or USSD to fit GSM7 charset
http://code.google.com/p/jss7/issues/detail?id=166

Fixed:
https://code.google.com/p/jss7/source/detail?r=ac7d11dcc3ce925e1923c8f3ab0f68b7610ef504

in org.mobicents.protocols.ss7.map.datacoding.GSMCharset
added two methods:
public boolean checkAllCharsCanBeEncoded(String data);
public static boolean checkAllCharsCanBeEncoded(String data, int[] mainTable, int[] extentionTable);

Before sending a string as SMS or USSD a user can invoke these methods for checking if all characters in can be encoded by GSM7 charset. If the method returns "true", the string can be encoded, if "false" the user must use other charset for encoding (for example UCS2).



Reply via email to