add utf8 library
detect invalid utf8 source