your right - I filed JDK-8255619 to fix this in JDK-16
/Andy On 10/29/2020 1:03 PM, Serban Iordache wrote:
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
