Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue: function decodeSmsPdu does not return correct information for unicode messages #102

Open
sahailion opened this issue Feb 13, 2019 · 1 comment

Comments

@sahailion
Copy link

Hi, I'm trying to read incoming messages and I've found out the function could not decode the sms pdu correctly.

This is the sms pdu that has been decoded correctly:
07910661929909F2040B910681835045F50008912021811065230456DE590D
The function returned: "回复"

This is the sms pdu that has not been decoded correctly:
07910661929909F2040B910681835045F50008912021811065230456DE590D0039
The function return empty for the message content. While it should be "回复9"

How do I fix this issue, if it's possible? Thank you.

@tomchy
Copy link

tomchy commented Mar 1, 2019

Please try to use the code inside this updated fork.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants