mirror of
https://github.com/WerWolv/ImHex-Patterns.git
synced 2026-03-27 23:37:04 -05:00
encodings/utf8: Corrected UTF-8 encoding file
This commit is contained in:
1257568
encodings/utf8.tbl
1257568
encodings/utf8.tbl
File diff suppressed because it is too large
Load Diff
11
scripts/utf8tblgen.py
Normal file
11
scripts/utf8tblgen.py
Normal file
@@ -0,0 +1,11 @@
|
||||
for i in range(0, 0x10FFFE):
|
||||
try:
|
||||
string = ""
|
||||
string += chr(i)
|
||||
|
||||
if not string.isprintable():
|
||||
continue
|
||||
print(f"{string.encode('utf-8').hex().upper()}={string}")
|
||||
except Exception as e:
|
||||
print(e)
|
||||
pass
|
||||
Reference in New Issue
Block a user