modified to use *91 instead of period for unknown characters. makes it
easier to have substitutes of all the same length.