Another day, another #eloquence release for #NVDA 64-bit:v9: proof that begging for contributions worksThis feature packed release is thanks to regular contributor titet11, and new contributor crucio2211!
Uncategorized
21
Posts
5
Posters
0
Views
-
@FreakyFwoof @amir Okay! The problem is with how we clean accents. Not calling this function fixes it:
# --- HELPER: Strip accents to ensure pure ASCII ---
def clean_key_text(text):
# Normalize unicode to decompose characters (NFD)
# Then filter out non-spacing mark characters (accents)
return "".join(
c
for c in unicodedata.normalize("NFD", text)
if unicodedata.category(c) != "Mn"
)
But why? Are accents actually allowed in eloquence dictionaries? I didn't think so?