Message89576
The standard string codecs for converting from unicode to strs does not
include the GSM 0.38 char mapping used by GSM services (like SMS).
I've written a codec for my use based on 'char_mapper' and the skeleton
from gencodec.py, though it's a little complicated by the fact that the
GSM encoding is semi-multibyte and not just a straight table look-up.
Gory details here in the comments:
http://www.unicode.org/Public/MAPPINGS/ETSI/GSM0338.TXT
The codec is available here:
http://github.com/jwishnie/pygsm/tree/f574f6db99c585f785f0c73a080814c043
2c6087/pygsm/gsmcodecs
Please consider it, or an optimized/improved version of it, for
inclusion with the standard codecs distributed with python |
|
Date |
User |
Action |
Args |
2009-06-21 19:28:02 | jwishnie | set | recipients:
+ jwishnie |
2009-06-21 19:28:01 | jwishnie | set | messageid: <1245612481.83.0.685402230855.issue6320@psf.upfronthosting.co.za> |
2009-06-21 19:28:00 | jwishnie | link | issue6320 messages |
2009-06-21 19:28:00 | jwishnie | create | |
|