Chamira Perera wrote:
Hi all:

I was wondering if there is a definition such as,

SomeString ::= VisibleString(FROM ("a".."z" | "A".."Z" | "0".."9" |
".-"))(SIZE (1..255))

Is the effective alphabet taken as
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-

Or can it be any order like,

.- 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz

Because according to the spec each character in the effective alphabet
has to be given a number starting from 0 and ending with n-1 (n = number
of characters in effective alphabet).
Right now I am a bit confused as to which order I need to use. Any help
is much appreciated!

The correct order is

-.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz

which is, sorted by ISO 10646 codepoints.

--
Lev Walkin
[EMAIL PROTECTED]
_______________________________________________
ASN1 mailing list
[email protected]
http://lists.asn1.org/mailman/listinfo/asn1

Reply via email to