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

Converting the hex in text field of delivery receipt to original UCS2 text submitted #107

Open
tahseenjamal opened this issue Nov 19, 2022 · 0 comments

Comments

@tahseenjamal
Copy link

tahseenjamal commented Nov 19, 2022

I am sending non-English (Chinese) string via UCS2 to SMPP and in the delivery receipt receive a hex in text part, which otherwise in normal gsm comes as first 10 characters of the message sent

How do I convert hex in case of UCS2 into the Chinese string ?

I assumed it as hex and tried but it is not working. Can we initialize pdutext and then execute its function to get the conversion ?

@tahseenjamal tahseenjamal changed the title Converting the hex in delivery receipt to string Converting the hex in text field of delivery receipt to original UCS2 text submitted Nov 20, 2022
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

1 participant