Update sms-counter.py

updated the char maps. This seems more accurate.
This commit is contained in:
Dayo Ayeni 2016-09-28 11:00:23 +01:00 committed by GitHub
parent ea2c5a09c0
commit 79373c49c9

View File

@ -21,28 +21,20 @@ class SMSCounter():
def get_gsm_7bit_map(self): def get_gsm_7bit_map(self):
return( return(
[64, 163, 36, 165, 232, 233, 249, [10,13,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,
236, 242, 199, 92, 110, 216, 248, 51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,
92, 114, 197, 229, 916, 95, 934, 71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,
915, 923, 937, 928, 936, 931, 920, 92,95,97,98,99,100,101,102,103,104,105,106,107,108,109,110,
926, 198, 230, 223, 201, 32, 33, 92, 111,112,113,114,115,116,117,118,119,120,121,122,
34, 35, 164, 37, 38, 39, 40, 41, 42, 161,163,164,165,191,196,197,198,199,201,209,214,
43, 44, 45, 46, 47, 48, 49, 50, 51, 216,220,223,224,228,229,230,232,233,236,241,242,
52, 53, 54, 55, 56, 57, 58, 59, 60, 246,248,249,252,915,916,920,923,926,928,931,934,
61, 62, 63, 161, 65, 66, 67, 68, 69, 936,937]
70, 71, 72, 73, 74, 75, 76, 77, 78,
79, 80, 81, 82, 83, 84, 85, 86, 87,
88, 89, 90, 196, 214, 209, 220, 167,
191, 97, 98, 99, 100, 101, 102, 103,
104, 105, 106, 107, 108, 109, 110,
111, 112, 113, 114, 115, 116, 117,
118, 119, 120, 121, 122, 228, 246,
241, 252, 224]
) )
def get_added_gsm_7bit_ex_map(self): def get_added_gsm_7bit_ex_map(self):
return [91, 93, 124, 8364, 123, 92, 125, 126, 94] return [91,92,93,94,123,124,125,126,8364]
def get_gsm_7bit_ex_map(self): def get_gsm_7bit_ex_map(self):