开发者

Weird charcters in java class file when viewed in Notepad++ or Notepad

开发者 https://www.devze.com 2023-01-05 05:24 出处:网络
I\'m trying to view a java class fi开发者_如何学Cle in Notepad++ or Notepad, it was in a .jar file and I unzipped it, and it has characters like NUL and DC1 and DC2 and SOH and other \"gibberish\" loo

I'm trying to view a java class fi开发者_如何学Cle in Notepad++ or Notepad, it was in a .jar file and I unzipped it, and it has characters like NUL and DC1 and DC2 and SOH and other "gibberish" looking characters...is there a way to fix/avoid this?


Class files are binary files compiled from source code. They're not supposed to be human readable. You want to find the .java source files used to create them if you want to read the code.

Or use a Java decompiler to revert the class files back into source code.


Class files are binary, not text. They're not supposed to look correct in a text editor.

0

精彩评论

暂无评论...
验证码 换一张
取 消