Added unicode support in treat sequences.