add utf8 support