Flyway encoding support Flyway encoding support

Flyway encoding support

The migration script encoding options within Flyway are defined by the Java character set.

In situations where a script’s encoding is either incorrect or cannot be reliably detected*, the product will continue processing without raising an explicit error. A debug‑level message is written if debug mode is enabled, and the system automatically falls back to UTF‑8. Depending on how similar your script’s actual encoding is to UTF‑8, the script may still run without obvious failures.

If you suspect this may be happening, please enable the debug switch so you can confirm whether encoding detection is failing.

*This assumes the following parameter is being used.

flyway.detectEncoding=true