Prefer UTF-8 when the encoding shouldn't matter and changes are small