Error in JD-GUI regarding variable names

933 Views Asked by At

When looking at a jar file with JD-GUI I keep getting some sort of display error. It seems to replace variable names/identifiers with the symbol ��� (which in JD-GUI looks like a red snowman, picture attached). Any idea of how to fix this? I tried googling around but wasn't able to describe my situation very well and could therefore not find anyone with the same problem. Thanks in advance! enter image description here

3

There are 3 best solutions below

0
Antimony On BEST ANSWER

It looks like the identifier is unicode. You can fix that by using a decompiler like Procyon that escapes unicode. (You should be using Procyon anyway because JD-GUI is a poor decompiler).

1
0x2B On

Looks like a snow man :). Posting rest of could would help but if you don't want to, use jad and maybe fern flower than compare the two. One should have the "right" naming

3
winterfall On

The class file should have be encrypted, you can see from the variable name and method name, I think the best way is finding an open source solution.