1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:27:34 +00:00

HexEditor: Add selection strings to the value inspector

Strings include ASCII, UTF-8, and UTF-16

Co-authored-by: Andreas Krohn <hamburger1984@gmail.com>
This commit is contained in:
MetallicSquid 2022-04-26 14:14:05 +01:00 committed by Sam Atkins
parent 815442b2b5
commit eb27b397b8
5 changed files with 40 additions and 1 deletions

View file

@ -30,6 +30,9 @@ public:
ASCII,
UTF8,
UTF16,
ASCIIString,
UTF8String,
UTF16String,
__Count
};
@ -100,6 +103,12 @@ public:
return "UTF-8";
case UTF16:
return "UTF-16";
case ASCIIString:
return "ASCII String";
case UTF8String:
return "UTF-8 String";
case UTF16String:
return "UTF-16 String";
default:
return "";
}