fix possible overflow bugs in unicodedata (closes #23367)
2 files changed