[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:

The codec is available here:

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>

More information about the Python-bugs-list mailing list