From 616733ab74b6c4d66164f107d1f14e7b0e0b601b Mon Sep 17 00:00:00 2001 From: Mark Servilla Date: Sat, 4 May 2024 18:05:57 -0600 Subject: [PATCH] Unnamed unicode codepoints result in ValueError #4 --- src/emlvp/unicode_inspector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emlvp/unicode_inspector.py b/src/emlvp/unicode_inspector.py index 65ca872..dab73cd 100644 --- a/src/emlvp/unicode_inspector.py +++ b/src/emlvp/unicode_inspector.py @@ -35,7 +35,7 @@ def unicode_list(xml: str) -> list: col = c + 1 char = i cp = ord(i) - name = unicodedata.name(i) + name = unicodedata.name(i, "Unknown") unicodes.append((row, col, char, cp, name)) return unicodes