Encoding alphabet now defined as string

Defining the encoding alphabet as a string is much less verbose than
array syntax.