See packet-per.c dissect_per_IA5String() for how an IA5String is
decoded in PER.
I assume you mean PER since h225 is PER encoded.
It is impossible to know how a PER IA5String is to be encoded without
having the full ASN.1 definition for the field.
If you want to know what it encodes as you MUST provide the full
definition of the string. I.e. the FROM part of the definition
since this affects the number of bits each character is encoded as as
well as the translation of the value encoded into the ascii symbol.
I.e. your question can not be answered without this information.
On Mon, 28 Mar 2005 14:45:28 +0200, Rami AlHasan
<Rami.AlHasan@xxxxxxxxxxxx> wrote:
> I have some stream of bytes that comes in the H225 nonstandardcontrol field.
> I want to decode as an IA5String. Can Anybody guide me how to do this fast.
> Is there specific function that I pass it with a buffer like this
>
> 11 38 11 20 ac 82 20 11 82 20 10 82 20 13 82 20 12
>
> And give me the corresponding decoding of it as IA5String?
>
> Please help
>
> _______________________________________________
> Ethereal-dev mailing list
> Ethereal-dev@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-dev
>