modify file charset var