COMMUNITY... do a and respond and please
Takeshi,
Thank you for keeping us updated, hopefully I can provide some more info to help.
******************** a **********************
compose an email and send to
NUMBER@tmomail.netleave subject blank, no need for it
in the body, make sure you have under X# of chars such as:
í, ú, ñ
a.1) what happens? ....you get ????????, no special chars on the phone
now do the same thing, but put 160 of them
a.2) what happens? ...... you get an MMS received on the phone, which can show all characters in one message
Here is flow
INCOMING MESSAGE
if message { process without using GSM 03.38}
if messsage > X # of bits {send as MMS}
Interesting? Yes, it appears that if the incoming messages to your gateway are never processed using the GSM 03.38 charset. (More than likely, they are being interpreted as UTF data, which would explain the character limitation when using the gateway, but not with phones, as shown below.)
Here is further breakdown:
Using email Compose a message with 160 foreign chars and send...
From above, you should be able to guess what happens, you get an MMS
Using a tmobile networked phone, compose a message with 160 foreign chars, send...
What happens? .... phone receives all 160 chars, as it should,
It's because it's processing as GSM 03.38
I hope this helps.
****************** 1 ***************************Here is a generic explanation of the GSM 03.38 charset - this is accurate to inform
that the characters as described, should be functioning in your gateway - IF your gateway were GSM 03.38.
http://en.wikipedia.org/wiki/GSM_03.38The site includes links for:
* GSM 03.38 to Unicode - the GSM 03.38 to Unicode mapping data file from unicode.org.
* Text to GSM 03.38 in C# - Text to GSM 03.38 mapping in the C# programming language.
And:
JCharset - Java Charset package includes GSM 03.38 support - JCharset - Java Charset package includes GSM 03.38 support
http://www.freeutils.net/source/jcharset/****************** 2 ***************************Please take note of the different encoding types used when composing an SMS, and when it is received.
Information such as Mime Type, Encoding type, headers, URI, scheme
eg: MIME's base64 encoding
Notice the encoding changes when using SMS vs MMS