[issue3649] IA5 Encoding should be in the default encodings

2008-08-25 Thread Pascal Bach
Pascal Bach <[EMAIL PROTECTED]> added the comment: I currently use the codec in my ucplib already and this is not a problem. I just thought that it might be useful for somebody else. But maybe it is to use case specific. If this codec is not of general interest I think this report can be

[issue3649] IA5 Encoding should be in the default encodings

2008-08-24 Thread Pascal Bach
Pascal Bach <[EMAIL PROTECTED]> added the comment: I have looked at utf_8.py and I think I know how to implement the incremental de/encoder. But I don't understand the codecs.register() function. Do I have to provide stateless, stateful and streamwriter at the same time? If

[issue3649] IA5 Encoding should be in the default encodings

2008-08-22 Thread Pascal Bach
Pascal Bach <[EMAIL PROTECTED]> added the comment: Well I have seen the problem. I'm willing to do this to improve python, but I don't know exactly how to do it. I looked at how utf-8 and utf-7 are done but I didn't exactly understand, are they based on C code? Is ther

[issue3649] IA5 Encoding should be in the default encodings

2008-08-22 Thread Pascal Bach
New submission from Pascal Bach <[EMAIL PROTECTED]>: This encoding is used in the GSM standard it is a 7-bit encoding similar to ASCII. The encoding definition is found in: Short Message Service Centre EMI - UCP Interface 4.6 Specification (p. 79) as well as in: [3GPP 23.038] 3GPP TS