feat: Added support for scanning binaries for UTF-8 strings

This commit is contained in:
WerWolv
2025-01-09 18:33:45 +01:00
parent f1d9642cf6
commit e2c302836f
3 changed files with 52 additions and 6 deletions

View File

@@ -42,7 +42,7 @@ namespace hex::plugin::builtin {
Value
} mode = Mode::Strings;
enum class StringType : int { ASCII = 0, UTF16LE = 1, UTF16BE = 2, ASCII_UTF16LE = 3, ASCII_UTF16BE = 4 };
enum class StringType : int { ASCII = 0, UTF8 = 1, UTF16LE = 2, UTF16BE = 3, ASCII_UTF16LE = 4, ASCII_UTF16BE = 5 };
struct Strings {
int minLength = 5;