Page 1 of 1

chinese chars under UCS2

Posted: Fri Sep 27, 2019 8:21 am
by luke
Hi, Sir

I am trying to send chinese messages by your SMPPClientDemo, under data = ucs2 , however, the Android phone which received the messages showing those messages in un-readable chars.

If I send alphabet messages under data = default, everything worked.

FYI, when i send chinese sms by phones, there is no any problem, so looks like the networking is fine.


Thanks

Re: chinese chars under UCS2

Posted: Fri Oct 25, 2019 11:51 am
by alt

Code: Select all

_client.EncodingMapper.MapEncoding(DataCodings.UCS2, Encoding.GetEncoding("GBK"));