Skip to content

Ghidra is a software reverse engineering (SRE) framework

Use string reference

caheckman2c547ac41b36
diff --git a/Ghidra/Features/Decompiler/src/main/java/ghidra/app/decompiler/DecompileCallback.java b/Ghidra/Features/Decompiler/src/main/java/ghidra/app/decompiler/DecompileCallback.java
index ca120e9367..e5fe0583c5 100644
--- a/Ghidra/Features/Decompiler/src/main/java/ghidra/app/decompiler/DecompileCallback.java
+++ b/Ghidra/Features/Decompiler/src/main/java/ghidra/app/decompiler/DecompileCallback.java
@@ -94,7 +94,7 @@ public class DecompileCallback {
cpool = null;
nativeMessage = null;
debug = null;
- utf8Charset = Charset.availableCharsets().get("UTF-8");
+ utf8Charset = Charset.availableCharsets().get(CharsetInfo.UTF8);
}
private static SAXParser getSAXParser() throws PcodeXMLException {