Comments (4)
Just added some tests in fed5ed1
This has helped to find an incorrect translation (ñ) in gsm0338.py, I need to add more tests or pimp up the existing ones to make sure the rest of the gsm0338 characters are OK.
from python-messaging.
I'm not sure if you meant Unicode <-> GSM 0338 encoding tests, I just added those and uncovered a couple of little bugs. There's still one thing I can't quite get my head around, are we supposed to be able to encode and decode 0x0000? For now I excluded it from the test, but if so we should fix the code and enable it in the test.
from python-messaging.
Not really sure about 0x0000... I guess that for quality-wise would be good to handle it. Please do apply your patches
from python-messaging.
I pushed the three remaining patches. I held fire on the 0x0000 mapping, at the moment it would be asymmetric so could only go in the encode method with 'replace', but I think there is a special sequence of events that might allow it to be decoded too. It's something like if '\x40' appears when it's followed by valid character it becomes '@' if it's followed by '\x00' it's 0x0000.
from python-messaging.
Related Issues (20)
- decode multipart pdu message HOT 1
- Concatenating multi-part PDU HOT 3
- How send MMS from Modem Dongle USB?
- How get a MMS message? HOT 3
- Greek GSM chars to PDU example HOT 4
- sms.cnt and sms.seq HOT 4
- Multipart SMS with Huawei e220 HOT 3
- MMSEncoder has no attribute 'encode_boolean_value'
- installation instructions HOT 2
- utf-8' codec can't decode byte 0xff in position 0 HOT 1
- Solution to problems with Polish characters
- Issue in timestap HOT 1
- message with smiles HOT 6
- python-messaging Failed to handle HTTP request HOT 1
- sms.class = 0 invalid syntax
- MMSEncoder has no no Expiry Encoder HOT 2
- Cannot specify multiple recipients
- decode send .mms headers From Date error
- TypeError: super() argument 1 must be type, not classobj HOT 1
- How can to encode an MMS without smil and just img/txt dataparts?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-messaging.