This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jwishnie
Recipients jwishnie
Date 2009-06-21.19:28:00
SpamBayes Score 0.00011793055
Marked as misclassified No
Message-id <1245612481.83.0.685402230855.issue6320@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2009-06-21 19:28:02jwishniesetrecipients: + jwishnie
2009-06-21 19:28:01jwishniesetmessageid: <1245612481.83.0.685402230855.issue6320@psf.upfronthosting.co.za>
2009-06-21 19:28:00jwishnielinkissue6320 messages
2009-06-21 19:28:00jwishniecreate