On Fri, 17 Nov 2023 18:27:44 GMT, Naoto Sato <na...@openjdk.org> wrote:

>> Oh, here are lots of news to me.
>> 
>> 1) What is the system locale? How do you check which locale is the system 
>> locale (as opposed to the user locale), and how to you change it?
>> 
>> 2) What is the UTF-8 beta option?
>
> IMHO, Windows has a history of patching up locale support. They have at least 
> System/User/UI default locales.
> 
> That said,
> 1) System locale is the locale of the OS that affects all users/non-Unicode 
> ANSI applications. You can set it in the ControlPanel->Regional 
> Settings->Administrative->"Change System Locale" button.
> 
> 2) There is a check box that reads "Beta: Use Unicode UTF-8 for worldwide 
> language support". This enables ANSI applications to use UTF-8 for wide char 
> <-> multibyte conversion. 
> 
> So in a nutshell, these combinations of settings end up in many unexpected 
> situations. YMMV

I added a requirement on the system locale, and that it affects file path 
encoding. 

I decided to skip mentioning the UTF-8 as long as it is still beta. Once it is 
officially released, we can come back and make proper recommendations in the 
readme.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/16694#discussion_r1399335975

Reply via email to