Incorrect value of resource.wxl-file-name in WinResources_ja.properties and WinResources_zh_CN.properties
Serban Iordache
serban.iordache at gmail.com
Thu Oct 29 17:03:15 UTC 2020
A China-based user of my Gradle plugin for creating installable packages
reported getting the following light.exe error:
LGHT0311 : A string was provided with characters that are not available in
the specified database code page '1252'.
I cannot reproduce the error because I don't have a machine running a
Chinese Windows 10, but I think that it's caused by the
resource.wxl-file-name property having the value MsiInstallerStrings_en.wxl
in all localization files. More specifically, I think that:
- in
https://github.com/openjdk/jdk/blob/ee2e61d7e0da8780f9893fbba8ca4cb44b520da1/src/jdk.incubator.jpackage/windows/classes/jdk/incubator/jpackage/internal/resources/WinResources_ja.properties#L37
resource.wxl-file-name=MsiInstallerStrings_en.wxl
should be replaced with
resource.wxl-file-name=MsiInstallerStrings_ja.wxl
- in
https://github.com/openjdk/jdk/blob/ee2e61d7e0da8780f9893fbba8ca4cb44b520da1/src/jdk.incubator.jpackage/windows/classes/jdk/incubator/jpackage/internal/resources/WinResources_zh_CN.properties#L37
resource.wxl-file-name=MsiInstallerStrings_en.wxl
should be replaced with
resource.wxl-file-name=MsiInstallerStrings_zh_CN.wxl
Thanks,
Serban
More information about the core-libs-dev
mailing list