Redgate Summit – The Database DevOps Transformation Watch now
PASS Data Community Summit logo

PASS Data Community Summit

A hybrid conference in Seattle and online

15-18 November

Flyway Documentation

Poll

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

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>