Formatted Changelog format not parsing UTF8 .sql files with BOM

Description

When using a formatted changed file saved in UTF-8 with BOM format, it is not recognized as formatted SQL and the raw sql executor fails with something like:

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '--liquibase formatted sql

Environment

Using formatted sql changelog file with BOM

Reporter

Nathan Voxland

Fix versions

Affects versions

Priority

Major
Configure