[issue6320] Standard string encodings should include GSM0.38

jwishnie report at bugs.python.org
Sun Jun 21 21:28:01 CEST 2009


New submission from jwishnie <jwishnie at 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 <report at bugs.python.org>
<http://bugs.python.org/issue6320>
_______________________________________


More information about the Python-bugs-list mailing list