RFR: 8301971: Make JDK source code UTF-8 [v3]

Magnus Ihse Bursie ihse at openjdk.org
Wed Apr 16 09:55:40 UTC 2025


On Wed, 16 Apr 2025 07:54:13 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:

> We get the following problem on AIX:
> 
> ```
> checking for locale to use... no UTF-8 locale found
> configure: error: No UTF-8 locale found. This is required for building successfully.
> configure exiting with result code 1
> ```

This is (hopefully) more of a configuration issue than an issue with AIX per se. You can run `locale -a` to see all available locales, and see if there is any utf-8 locales at all. It might be that the naming scheme does not match `*.UTF-8`. Otherwise, you'd have to install the `C.UTF-8` or `en_US.UTF-8` locale. 

If no UTF-8 locales are available at all on AIX, then we might have to add some kind of exception. But beware that you will be building on an unsupported configuration in that case.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/24574#issuecomment-2809035830


More information about the core-libs-dev mailing list