mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-27 13:50:43 +00:00
Unicode escape nonenglish characters in namespaces in P-code
This commit is contained in:
@@ -269,7 +269,9 @@ public class Multiname {
|
||||
break;
|
||||
}
|
||||
}
|
||||
return constants.getNamespace(index).getKindStr() + "(" + (name == null ? "null" : "\"" + Helper.escapePCodeString(name) + "\"") + (sub > 0 ? ",\"" + sub + "\"" : "") + ")";
|
||||
return constants.getNamespace(index).getKindStr() + "(" + (name == null ? "null" : "\"" +
|
||||
Helper.escapePCodeEnglishString(name) //Note: Versioned ABC files have high unicode characters in namespaces, escape them
|
||||
+ "\"") + (sub > 0 ? ",\"" + sub + "\"" : "") + ")";
|
||||
}
|
||||
|
||||
public static String namespaceSetToString(AVM2ConstantPool constants, int index) {
|
||||
|
||||
Reference in New Issue
Block a user