How to change locale in a Windows terminal?

Krystal Mok rednaxelafx at gmail.com
Wed Aug 10 01:33:14 UTC 2016


Hi Max,

Does setting -Duser.country=CN work for you? (I don't remember what the
correct name for China should be, but setting that to US forces java to
print the help message in English)

- Kris

On Tue, Aug 9, 2016 at 6:25 PM, Weijun Wang <weijun.wang at oracle.com> wrote:

> My Windows 10 is English, but I want the java command to show Chinese help
> screen temporarily.
>
> I've tried "set LANG", chcp, "control intl.cpl,, /f:" but none works.
>
> Thanks
> Max
>
>


More information about the core-libs-dev mailing list