fix incorrect cutoff in to_latin

This commit is contained in:
edwloef 2025-12-02 10:02:37 +01:00
parent 86083d8ec8
commit 0df5765e2f
No known key found for this signature in database

View file

@ -65,7 +65,7 @@ impl Key {
let mut chars = s.chars();
let c = chars.next()?;
if chars.next().is_none() && c <= '\u{ff}' {
if chars.next().is_none() && c < '\u{370}' {
return Some(c);
}