Formatting and executing a query just in case invalid encoding is present.
Updating changes file