add utf compatibility