mirror of
https://github.com/WerWolv/ImHex-Patterns.git
synced 2026-03-29 08:20:01 -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