add utf-8 encoding for logging