Config File Encoding
Published 31 October 2023
Config File Encoding
Description
The file encoding to use when loading Flyway configuration files.
The encodings that Flyway supports are:
US-ASCII
ISO-8859-1
UTF-8
UTF-16BE
UTF-16LE
UTF-16
All your config files must have the same file encoding.
Default
UTF-8
Usage
Commandline
./flyway -configFileEncoding="UTF-16" info
TOML Configuration File
Not available
Configuration File
Not available
Environment Variable
FLYWAY_CONFIG_FILE_ENCODING=UTF-16
API
Not available
Gradle
flyway {
configFileEncoding = 'UTF-16'
}
Maven
<configuration>
<configFileEncoding>UTF-16</configFileEncoding>
</configuration>