Home > Back-end >  How to compile the class after the launch of Java source files encoding, have can raise a point to k
How to compile the class after the launch of Java source files encoding, have can raise a point to k

Time:03-03

[face] monkey2:021 PNG [/face] led to a task, through the compiled class launch Java source file encoding, have can raise a point to know, thank you

CodePudding user response:

Do not understand what you mean, I think you should be want to decompiled class files into Java file, you can use the GUI visualization tools, decompiled or fernflower jars

CodePudding user response:

1/f, reference generation farmers reply:
don't understand what you mean, I think you should be want to decompiled class files into Java file, you can use the GUI visualization tools, or jars fernflower decompiled
is the same with the project have

CodePudding user response:

1/f, reference generation farmers reply:
don't understand what you mean, I think you should be want to decompiled class files into Java file, you can use the GUI visualization tools, or jars fernflower decompiled
is the same project some source encoding used wrong, originally GBK code, for example, he used the results into utf-8, so want to, in turn, have a class to look at the original source code, isn't that right,

CodePudding user response:

refer to the third floor of thorns bird's reply:
Quote: 1/f, reference generation farmers reply:
don't understand what you mean, I think you should be want to decompiled class files into Java file, you can use the GUI visualization tools, or jars fernflower decompiled
is the same project some source encoding used wrong, originally GBK code, for example, he used the results into utf-8, so want to, in turn, have a class to look at the original source code, isn't that right,
not decompiled, just want to know Java file encoding by class file

CodePudding user response:

Java source file have a variety of encoding, once be converted to a class file, code becomes is Unicode, class class file not Java coding information, includes only some of the version number, the magic number, fields, and so on basic information, so your leadership assigned the task can not do, answer

CodePudding user response:

refer to the third floor of thorns bird's reply:
Quote: 1/f, reference generation farmers reply:
don't understand what you mean, I think you should be want to decompiled class files into Java file, you can use the GUI visualization tools, or jars fernflower decompiled
is the same project some source encoding used wrong, originally GBK code, for example, he used the results into utf-8, so want to, in turn, have a class to look at the original source code, isn't that right,

This problem you can check the code can be solved by means of the idea of tools

CodePudding user response:

Can't, because the class file is specification, without the source character set information
  • Related