Added functionallity for encoding change in Html file