nguyenbahuong / smslib

Automatically exported from code.google.com/p/smslib
0 stars 0 forks source link

Huawei E173 Enconding X SMSLib #489

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Dear,
I just purchased 5 modems Huawei E173. Connection, sending and reading are 
perfect. However during testing I found that I can not use encoding ENCUCS2. 
Therefore need to use (ã õ ç, etc..).
Detail is that through Software Huawei shipments out correctly.

What they stop SMSLib not send SMS with accents as the manufacturer's software. 
It is possible to implement in the midst of adding this encoding?

Help Me!!?

Original issue reported on code.google.com by thinform...@gmail.com on 12 May 2012 at 10:31

GoogleCodeExporter commented 9 years ago
I can't really say...

May it uses a custom encoding. SMSLib uses the standard GSM alphabet for 
standard messaging and UCS2 encoding for non-latin messaging.

When you say you can't use UCS2, you mean that the command is rejected by the 
modem?

Original comment by T.Delenikas on 13 May 2012 at 8:53

GoogleCodeExporter commented 9 years ago
I got around the problem.
SMSLib I updated to new version and put the method msg.setenconding (), after 
the method msg.message (). So I use UCS2.
It is possible to add another dictionary the library? Is it possible implement?

Original comment by thinform...@gmail.com on 13 May 2012 at 8:56

GoogleCodeExporter commented 9 years ago
You could modify smslib and implement a charset different than the default GSM 
alphabet, but this would require *serious* modding...

Original comment by T.Delenikas on 19 May 2012 at 6:34

GoogleCodeExporter commented 9 years ago

Original comment by T.Delenikas on 26 May 2012 at 4:48