For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

getDefaultCharacterEncoding

@Nullable
abstract fun getDefaultCharacterEncoding(): @Nullable String(source)

Returns the default character encoding to use.

Return

The default character encoding. Returns null if the default character encoding of this JVM should be used.

Since

1.0