gsm

decode 7-bit GSM

decode 7-bit GSM Question: I found this post on how to encode ascii data to 7-bit GSM character set, how would I decode 7-bit GSM character again (reverse it back to ascii)? Asked By: johannes || Source Answers: For Python2: import binascii gsm = (“@£$¥èéùìòÇnØørÅåΔ_ΦΓΛΩΠΨΣΘΞx1bÆæßÉ !”#¤%&'()*+,-./0123456789:;<=>?” “¡ABCDEFGHIJKLMNOPQRSTUVWXYZÄÖÑÜ`¿abcdefghijklmnopqrstuvwxyzäöñüà”) ext = (“““““““““““^“““““““““`{}““`\““““““[~]`” “|““““““““““““““““““€“““““““““““““”) def gsm_encode(plaintext): result = …

Total answers: 5