Get the most out of Flyway v7 - Sign up for our webinar on the Redgate Hub ▶ Watch now

Config File Encoding

Description

The file encoding to use when loading Flyway configuration files.

Default

UTF-8

Usage

Commandline

./flyway -configFileEncoding="UTF-16" info

Configuration File

Not available

Environment Variable

FLYWAY_configFileEncoding=UTF-16

API

Not available

Gradle

flyway {
    configFileEncoding = 'UTF-16'
}

Maven

<configuration>
    <configFileEncoding>UTF-16</configFileEncoding>
</configuration>