You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi.
This tool is super great !!!
I found a BUG. non-English words like Chinese,Japanese...etc in the class file shows messy code.
After I compile it using Kratau Bytecode editor, exported as zip or jar file .
Then using JD-GUI or others check it out, that Non-English words in that compiled file, show you messy code.
There are problems with the export process.
Sorry for my English! Hope you can understand.
The text was updated successfully, but these errors were encountered:
Hi! Thank you for this report! I will look into this and see what solutions I can come up with. I'm thinking it's todo with non-ascii characters but I'm not sure exactly where in the process that would be failing
I tried to modify and compile a utf-8 encoding file contains Chinese character. Bytecode-viewer uses javac to compile it, but the default encoding of Windows is GBK when system region is Chinese, so the javac command failed to execute.
I don't know how to pass the arg -Dfile.encoding=UTF-8 to javac, but I found another solution, is that setting the value of the environment variable JAVA_TOOL_OPTIONS to -Dfile.encoding=UTF-8
Konloch
changed the title
This is a bug what I found.
Non-UTF-8 Encoding Issue
Jul 23, 2024
Hi.
This tool is super great !!!
I found a BUG. non-English words like Chinese,Japanese...etc in the class file shows messy code.
After I compile it using Kratau Bytecode editor, exported as zip or jar file .
Then using JD-GUI or others check it out, that Non-English words in that compiled file, show you messy code.
There are problems with the export process.
Sorry for my English! Hope you can understand.
The text was updated successfully, but these errors were encountered: