RFR: 8290471: jpackage: allow to specify codepage on Windows
Alex Kasko
akasko at openjdk.org
Wed Jul 20 16:53:17 UTC 2022
On Mon, 18 Jul 2022 22:33:15 GMT, Alex Kasko <akasko at openjdk.org> wrote:
> It is proposed to introduce support for `--win-codepage` argument, and substitute the `Codepage` attribute with `--win-codepage` specified value in primary l10n file when it is being copied to the config dir.
>
> Instead of copying all internal l10n files, it is proposed to copy only the primary file. Plain copy is used if `--win-codepage` is not specified. Otherwise `--win-codepage` value is substituted in l10n file using DOM and XPath.
>
> See more details in issue description and in links added there.
>
> Testing:
>
> - [x] ran `jtreg:jdk/tools/jpackage`
> - [x] test for `--win-codepage` argument is included with the patch
I've extended the test covering multiple languages with UTF-8. Also added new flag description to `--help` output.
-------------
PR: https://git.openjdk.org/jdk/pull/9546
More information about the core-libs-dev
mailing list