Converting to unicode 16 for the DFA library fixed.