cleanup utf8 snippet interface