Garbled code
When ${project. Description} is in Chinese, the process displays garbled code
- JavaPackager version: 1.6.6
- OS version: windows Server 2019 Datacenter 1809
- JDK version: 1.8
- Build tool: Maven 3.8

Hi @lhDream! Please, have a look at this related issue.
Hi @lhDream!
Did you manage to fix this issue? JavaPackager is using rcedit-x64.exe command line tool to customize WinRun4j and Why launchers (EXE files) ... maybe you can try it with the EXE generated by Launch4j.
Hi @fvarrui I tried to use launch4j, but it was also garbled code.
I mean use rcedit-x64.exe command tool by your own to modify the description of the EXE generated with Launch4j
@fvarrui rcedit-x64.exe does modify the EXE file description, but it cannot be executed.
Could you give a try to Resource Hacker? It also can be used as a command line tool, and if it works fine, maybe you can automate the "set-exe-description" process calling it from Maven.
I'm sorry I can't help you much more
I'll try
The Resource Hacker GUI can use
Hi @fvarrui If the project path contains CJK, the project will fail to package. Example:
D:/test/测试/testProject
Hi @lhDream! sorry for my late reply! I'll do some research about this, but I'm not really sure if I can reproduce your issue on my Spanish Windows.
hi @fvarrui It doesn't matter. It's not a big problem. If you can't reproduce it, you can try the virtual machine.
Let's keep this issue opened until we can find a solution. Thanks!
hi @fvarrui It doesn't matter. It's not a big problem. If you can't reproduce it, you can try the virtual machine.
The Resource Hacker GUI can use
Did you manage to automate the "set description" process using Resource Hacker?
hi @fvarrui Tried, but failed. Maybe I used it the wrong way
Hi @lhDream! I'll give it a try and tell you something ASAP.
Hi @fvarrui Thanks.
Hi @fvarrui !
ResourceHacker.exe version V5.1.8
demo.rc
1 VERSIONINFO
FILEVERSION 3,1,4,1592
PRODUCTVERSION 2,7,1,8
FILEOS 0x4
FILETYPE 0x1
{
BLOCK "StringFileInfo"
{
BLOCK "040904E4"
{
VALUE "CompanyName", "测试0\0"
VALUE "FileDescription", "测试1\0"
VALUE "FileVersion", "测试2\0"
VALUE "ProductName", "测试3\0"
VALUE "InternalName", "测试4\0"
VALUE "LegalCopyright", "测试5\0"
VALUE "OriginalFilename", "测试6\0"
VALUE "ProductVersion", "测试7\0"
}
}
BLOCK "VarFileInfo"
{
VALUE "Translation", 0x0409 0x04E4
}
}
ResourceHacker.exe -open demo.rc -save demo.res -action compile
ResourceHacker.exe -open demo.exe -save newDemo.exe -action addoverwrite -resource demo.res

Hi @lhDream!
So, is ResourceHacker command line tool working as expected?
Hi @fvarrui ! Yes!
JavaPackager 1.7.0 released to Maven Central