problema con encoding

Dec 5, 2012 at 1:15 PM

Hola tengo problemas con los mensajes desde un iphone enviados con tildes.

 

Estos están llegando Data_Coding—Bytes: 8

 

Cual de todos los datacoding que trae la librería me puede interpretar este mensaje.

 

  SMSCDefault = 0,

        ASCII = 1,

        Octet1 = 2,

        Latin1 = 3,

        Octet2 = 4,

        JIS = 5,

        Cyrllic = 6,

        Latin_Hebrew = 7,

        UCS2 = 8,

        Pictogram = 9,

        MusicCodes = 10,

        ExtendedKanji = 13,

        KS_C_5601 = 14,

        GSM_MWI_1 = 192,

        GSM_MWI_2 = 208,

        GMS_MessageClass = 240,

Dec 5, 2012 at 3:44 PM

ya encontre la solucion fue la siguiente.

 

 

 

I solved the same problem with Cyrillic and Hebrew characters by changing all 4 occurrences of

System.Text.Encoding.Unicode

to

System.Text.Encoding.BigEndianUnicode

in the file

JamaaTech.SMPP.Net.Lib\Util\SMPPEncodingUtil.c

 

Hope this helps.

Michael.

Jul 10, 2013 at 8:01 AM
Hi Michael, can you tell, how to get access to the JamaaTech.SMPP.Net.Lib\Util\SMPPEncodingUtil.c file?
JamaaTech.SMPP.Net.Lib is the dll file? How can I to change its subfiles?
Sep 19, 2014 at 12:16 PM
Edited Sep 19, 2014 at 12:16 PM
Hi Michael. It is working fine for me,

Thanks, it's save my time.
Sep 19, 2014 at 6:17 PM
Edited Sep 19, 2014 at 6:18 PM
@Jukka, You can download the source code on https://jamaasmpp.codeplex.com/SourceControl/latest#