New submission from jwishnie <jwish...@gmail.com>: 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 ---------- components: Unicode messages: 89576 nosy: jwishnie severity: normal status: open title: Standard string encodings should include GSM0.38 type: feature request versions: Python 2.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6320> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com