From 9cb058c7ac4d5868597ba6e6242777c899edbd05 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Tue, 4 Jul 2023 10:06:31 +0200 Subject: [PATCH] increase the range of ok ascii --- lib/utils.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils.ml b/lib/utils.ml index 2533d0f..896ded7 100644 --- a/lib/utils.ml +++ b/lib/utils.ml @@ -6,7 +6,7 @@ let get_bytecode ?(json = false) data = (List.map (fun byte -> let code = Char.code byte in - if code >= 65 && code <= 122 + if code >= 32 && code <= 126 then String.make 1 byte else Printf.sprintf "%cx%02X" backslash code) (List.of_seq (Bytes.to_seq data)))