From bd10c0ed6b1378105d1f7b8d2db067e13bfa0390 Mon Sep 17 00:00:00 2001 From: MikeCAT Date: Thu, 7 Aug 2025 14:58:59 +0000 Subject: [PATCH] Exclude Delete character from printable --- src/core/Utils.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/Utils.mjs b/src/core/Utils.mjs index a9c381d766..eae86374b4 100755 --- a/src/core/Utils.mjs +++ b/src/core/Utils.mjs @@ -177,7 +177,7 @@ class Utils { */ static printable(str, preserveWs=false, onlyAscii=false) { if (onlyAscii) { - return str.replace(/[^\x20-\x7f]/g, "."); + return str.replace(/[^\x20-\x7e]/g, "."); } // eslint-disable-next-line no-misleading-character-class