fix incorrect cutoff in to_latin
This commit is contained in:
parent
86083d8ec8
commit
0df5765e2f
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue