image credit: Adobe Stock

Java source code could switch to UTF-8 encoding

March 1, 2023

Via: InfoWorld

Source code for the Java Development Kit (JDK) would be redone in UTF-8 (Unicode Transformation Format) to facilitate better-defined encoding, under a plan afoot in the OpenJDK Java community.

The proposal, created in early January and updated on February 28, can be found at It describes the current state of source code in the JDK as an “ill-defined encoding,” with no official declaration of the encoding used, while adding it is mostly ASCII but with a few non-ASCII characters that are not well-defined. The current situation creates unnecessary problems when working with the JDK codebase, for no other reason than historical baggage, the proposal states.

Read More on InfoWorld