Try to keep the encoding consistency.