Skip to content

Commit

Permalink
Unnamed unicode codepoints result in ValueError #4
Browse files Browse the repository at this point in the history
  • Loading branch information
servilla committed May 5, 2024
1 parent c09dca0 commit 616733a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/emlvp/unicode_inspector.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 616733a

Please sign in to comment.