add utf-8 support