bug in regex escaping, there has got to be a better way
unicode version of maketrans for unicode.translate