JDK-8266260 : Release Note: System Property for Native Character Encoding Name
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.lang
  • Affected Version: 17
  • Priority: P4
  • Status: Closed
  • Resolution: Delivered
  • OS: generic
  • CPU: generic
  • Submitted: 2021-04-28
  • Updated: 2021-12-02
  • Resolved: 2021-07-21
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 17
17Resolved
Description
A new system property `native.encoding` has been introduced. This system property provides the underlying host environment's character encoding name. For example, typically it has `UTF-8` in Linux and macOS platforms, and `Cp1252` in Windows (en-US). Refer to the [CSR](https://bugs.openjdk.java.net/browse/JDK-8266075) for more detail.