RFR: 8300819: -Dfile.encoding=Cp943C option does not work as expected since jdk18 [v2]
Ichiroh Takiguchi
itakiguchi at openjdk.org
Mon Jan 23 09:47:09 UTC 2023
On Mon, 23 Jan 2023 07:48:41 GMT, Alan Bateman <alanb at openjdk.org> wrote:
>> Ichiroh Takiguchi has updated the pull request incrementally with one additional commit since the last revision:
>>
>> 8300819: -Dfile.encoding=Cp943C option does not work as expected since jdk18
>
> I'm trying to understand what the real issue is. The java.base module on Linux builds includes SJIS, MS932, and PCK. Is there a Linux configuration in Japanese environments where the default charset in any JDK release is IBM943C? Same question for AIX builds that is the only build that includes IBM943C in java.base.
Hello @AlanBateman .
Sorry for your confusion.
Java8 works `-Dfile.encoding=Cp943C` option on Linux. Since many users are migrating from Java8, I'm getting similar requests from my clients. Cp943C is not supported by Linux natively, but some clients want to use same encoding with Linux and AIX.
Japanese AIX environment supports IBM-943(Cp943C)/IBM-eucJP(Cp29626C)/UTF-8 encoding.
Cp943C and Cp29626C are in base.base module on AIX platform.
-------------
PR: https://git.openjdk.org/jdk/pull/12132
More information about the core-libs-dev
mailing list