kimgr / asn1ate

A Python library for translating ASN.1 into other forms.
Other
69 stars 41 forks source link

Extra string types not recognised #27

Closed viraptor closed 8 years ago

viraptor commented 8 years ago

Some string types are recognised by parser, but not output properly. TeletexString and UniversalString are not prefixed with char.

kimgr commented 8 years ago

There's a mapping in pyasn1gen.py -- _ASN1_BUILTIN_TYPES where you can add this translation. A pull request (with additional tests, see string_types.asn) would be very welcome!

kimgr commented 8 years ago

Fixed in PR #28.