Transliterate a string based on the supplied transliterator. Can be used to change UTF-16 code units into single characters.