Encoding issue with UpdateSQL

Description

Some Swedish characters come out wrong when I use the UpdateSQL command with the command-line client. I'm guessing that the encoding is wrong. The editor is set to use UTF-8. I've tried the -Dfile.encoding=UTF-8 flag for Java by adding it to the JAVA_OPTS variable in liquibase.bat, but it did not produce the correct result. The Update command seems to produce the right result in the database though.

Example changelog:

Result without -Dfile.encoding=UTF-8:

Result with -Dfile.encoding=UTF-8:

Environment

Windows 7, powershell, cmd

Reporter

Linus Nilsson

Components

Fix versions

Affects versions

Priority

Major
Configure