diff --git a/volatility3/framework/objects/utility.py b/volatility3/framework/objects/utility.py index a1ad4fdf5..13031e1f1 100644 --- a/volatility3/framework/objects/utility.py +++ b/volatility3/framework/objects/utility.py @@ -188,7 +188,14 @@ def address_to_string( if count < 1: raise ValueError("Count must be greater than 0") - encodings = {"utf8": 1, "utf16": 2, "utf32": 4} + encodings = { + "utf-8": 1, + "utf8": 1, + "utf-16": 2, + "utf16": 2, + "utf32": 4, + "utf-32": 4, + } if encoding not in encodings: raise ValueError( f"Encoding ({encoding} is invalid. Must be one of {[e for e in encodings]}."