Convert tools between utf8 and unicode, written in C++.