Inline dfa for translating from UTF-8