inkOfPixel/sms-length

Problem with [ { } } w signs

sk0gen opened this issue · 2 comments

Why length for '[' is calculated as 2?

The [ character is part of the extension set of the GSM7 alphabet, so it takes twice the space of a char included in the base character set.
Here is a reference: https://en.wikipedia.org/wiki/GSM_03.38

Yea. I stupidly wrote the issue. Sorry for inconvenience :)