Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Utf16 support #22
This is the big PR - adding UTF16 (emoticons, etc) support to the module. I did some general Unicode tune-up of various test files (converting the non-UTF8 encodings to be more standard UTF8 for easier editing).
I do not believe that I broke the old API in a significant way, although I do switch to UCS2 charset mode, if the phone is in PDU mode, when send_sms() is passed a message that can't cleanly convert to GSM0338.
I also added in examples a send_csms.pl script which I'm using for my personal purposes right now. It doesn't have any locking, but enables sending CSMS from the command line easily (inside of scripts
I'm open to any discussion or thoughts you might have on this - so feel free to suggest I do things somewhat differently or using a different approach, if it would work better with this module in your eyes.