Skip to content

Conversation

vernig
Copy link
Contributor

@vernig vernig commented Aug 16, 2021

  • Add getNonGsmCharacters() method to return an array of non-GSM-7 characters found in the message body
  • Add encodedChars property: array of encoded chars composing the message

Fix #9

Giuseppe Verni added 3 commits August 16, 2021 19:44
Also exposing a new class property `encodedChars`
And add test for getNonGsmCharacters()
@vernig vernig requested a review from micaswyers August 16, 2021 18:52
@vernig
Copy link
Contributor Author

vernig commented Aug 16, 2021

@HugoCrd I changed the name of the method to make it more clear, but the implementation is pretty much the same as yours. Let me know what you think.

@vernig vernig requested a review from smarchante1 August 17, 2021 07:52
@vernig vernig merged commit 159c838 into main Aug 27, 2021
@vernig vernig deleted the getNonGsmCharacters branch August 27, 2021 14:54
@vernig
Copy link
Contributor Author

vernig commented Aug 27, 2021

🎉 This PR is included in version 1.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@HugoCrd
Copy link

HugoCrd commented Aug 31, 2021

@HugoCrd I changed the name of the method to make it more clear, but the implementation is pretty much the same as yours. Let me know what you think.

Sorry I couldn't review earlier as I was in holidays. Thanks for adding this!

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

Successfully merging this pull request may close these issues.

Add method to return which character(s) require UCS-2 encoding
3 participants