This PR fixes an issue when especial GSM-7 characters from the extended group are counted incorrectly as a single character for GSM-7 encoding.
The character from the "Basic Character Set Extension" uses the ESC character increasing the character count to two, UCS-2 doesn't need change.
Changes:
Add new private method to count codeUnits for GSM-7
Add character count display in playground index.js file
Remove unnecessary grapheme instance for SegmentedMessage instantiation
This PR fixes an issue when especial GSM-7 characters from the extended group are counted incorrectly as a single character for GSM-7 encoding. The character from the "Basic Character Set Extension" uses the
ESC
character increasing the character count to two, UCS-2 doesn't need change.Changes:
index.js
fileSegmentedMessage
instantiationauto
encoding selection