Title: GSM-7 encoding is actually GSM-8? · Issue #123 · python-smpplib/python-smpplib · GitHub
Open Graph Title: GSM-7 encoding is actually GSM-8? · Issue #123 · python-smpplib/python-smpplib
X Title: GSM-7 encoding is actually GSM-8? · Issue #123 · python-smpplib/python-smpplib
Description: Hi, I think smpplib's GSM-7 encoding is only encoding to GSM-8, but not doing the byte-packing step to convert to GSM-7. Here's an example: For an SMS containing "This is a test SMS from wave: é à É ô" we get this PDU in the logs: 000000...
Open Graph Description: Hi, I think smpplib's GSM-7 encoding is only encoding to GSM-8, but not doing the byte-packing step to convert to GSM-7. Here's an example: For an SMS containing "This is a test SMS from wave: é à ...
X Description: Hi, I think smpplib's GSM-7 encoding is only encoding to GSM-8, but not doing the byte-packing step to convert to GSM-7. Here's an example: For an SMS containing "This is a test SMS fr...
Opengraph URL: https://github.com/python-smpplib/python-smpplib/issues/123
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"GSM-7 encoding is actually GSM-8?","articleBody":"Hi,\r\n\r\nI think smpplib's GSM-7 encoding is only encoding to GSM-8, but not doing the byte-packing step to convert to GSM-7.\r\n\r\nHere's an example:\r\n\r\nFor an SMS containing \"This is a test SMS from wave: é à É ô\" we get this PDU in the logs: `000000550000000400000000000004b40005005741564500010032323530323132313630360000000000000100000025546869732069732061207465737420534d532066726f6d20776176653a2005207f201f206f`\r\n\r\nTaking the trailing bytes of that and converting back from hex we get:\r\n\r\n```\r\nIn [5]: binascii.unhexlify(\"546869732069732061207465737420534d532066726f6d20776176653a2005207f201f206f\")\r\nOut[5]: b'This is a test SMS from wave: \\x05 \\x7f \\x1f o'\r\n```\r\n\r\nWhich is mostly ascii, and so can't be a 7-bit encoding. I also can't find any code in smpplib which looks like it does the byte-packing.\r\n\r\nMaybe I'm using smpplib incorrectly?","author":{"url":"https://github.com/davidshepherd7","@type":"Person","name":"davidshepherd7"},"datePublished":"2020-08-26T14:33:24.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/123/python-smpplib/issues/123"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:28ef14d3-54ec-faa8-5bdc-8e3bdc687c98 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9D06:48DAB:1930A9D:2370466:696F6797 |
| html-safe-nonce | d3f0e74db88fbf71525f0ba144dcf8d16aecd396b11efce18dfb59a4221aee50 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RDA2OjQ4REFCOjE5MzBBOUQ6MjM3MDQ2Njo2OTZGNjc5NyIsInZpc2l0b3JfaWQiOiI4NTI0MDIzMzgxMzk5Mzk4Mjk1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 8a3819ac8fe8106ee5f0f2acb4b6d10554bff7bc02c809dd4ec787d87ac5ff52 |
| hovercard-subject-tag | issue:686371554 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-smpplib/python-smpplib/123/issue_layout |
| twitter:image | https://opengraph.githubassets.com/07ddd79cbcdc216772e3451d4880d069fed20e38bed332fa1cce169508fdc7f2/python-smpplib/python-smpplib/issues/123 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/07ddd79cbcdc216772e3451d4880d069fed20e38bed332fa1cce169508fdc7f2/python-smpplib/python-smpplib/issues/123 |
| og:image:alt | Hi, I think smpplib's GSM-7 encoding is only encoding to GSM-8, but not doing the byte-packing step to convert to GSM-7. Here's an example: For an SMS containing "This is a test SMS from wave: é à ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | davidshepherd7 |
| hostname | github.com |
| expected-hostname | github.com |
| None | dd6be7b30d2e12704d0d9723ad4a7950f9e3ad8461efc40b5411aad62e847a89 |
| turbo-cache-control | no-preview |
| go-import | github.com/python-smpplib/python-smpplib git https://github.com/python-smpplib/python-smpplib.git |
| octolytics-dimension-user_id | 45378833 |
| octolytics-dimension-user_login | python-smpplib |
| octolytics-dimension-repository_id | 9441405 |
| octolytics-dimension-repository_nwo | python-smpplib/python-smpplib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 9441405 |
| octolytics-dimension-repository_network_root_nwo | python-smpplib/python-smpplib |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 0bab932a9532ed9bc2e3e2614af9348ab39af6a7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width