Skip to content

Instantly share code, notes, and snippets.

@romejiang
Last active March 16, 2017 12:04
Show Gist options
  • Save romejiang/e120a796407c7eaced31d8ee86ab7213 to your computer and use it in GitHub Desktop.
Save romejiang/e120a796407c7eaced31d8ee86ab7213 to your computer and use it in GitHub Desktop.
Grails outputs wrong encoding

add "systemProperty "file.encoding", "utf-8" " to build.gredle file inside bootRun.

bootRun {
    jvmArgs('-Dspring.output.ansi.enabled=always')
    addResources = true
    systemProperty "file.encoding", "utf-8"
}

issues...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment