fix some bug for linux and osx os
change file from utf-16le to utf8 for clang and g++ compiler