From 2c0815077cac105b3c31320cac77743c6f3bdb6b Mon Sep 17 00:00:00 2001 From: Sylvain PILLOT Date: Mon, 1 Aug 2022 14:40:13 +0200 Subject: [PATCH] Added a specific charset (extascii) to get access to 256 characters of the ascii table Added the support of extended ascii table (char 128 and aboce up to 255). --- fxconv/fxconv.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fxconv/fxconv.py b/fxconv/fxconv.py index c7030dc..89b9b04 100644 --- a/fxconv/fxconv.py +++ b/fxconv/fxconv.py @@ -149,10 +149,12 @@ FX_CHARSETS = { "alnum": [ (ord('A'), 26), (ord('a'), 26), (ord('0'), 10) ], # All printable characters from 0x20 to 0x7e "print": [ (0x20, 95) ], - # All 128 ASII characters + # All 128 ASCII characters "ascii": [ (0x00, 128) ], # Custom Unicode block intervals "unicode": [], + # All 256 ASCII characters (128 first characters as per ascii + 128 extended characters) + "extascii": [ (0x00, 256) ], } #