Skip to content
This repository has been archived by the owner on Jan 2, 2024. It is now read-only.

I vs. l vs. 1 vs. | #13

Open
ariutta opened this issue Jan 30, 2019 · 0 comments
Open

I vs. l vs. 1 vs. | #13

ariutta opened this issue Jan 30, 2019 · 0 comments

Comments

@ariutta
Copy link

ariutta commented Jan 30, 2019

Case 1

I (I capital "eye") vs. l (l lowercase "ell") with just LATIN

Code:

from confusable_homoglyphs import confusables
confusables.is_confusable('I', preferred_aliases=['LATIN'], greedy=True)

Expected: at least l

Actual: False

Case 2

I (I capital "eye") vs. l (l lowercase "ell") vs. number 1 vs. pipe | with LATIN and COMMON

Code:

from confusable_homoglyphs import confusables
confusables.is_confusable('I', preferred_aliases=['LATIN', 'COMMON'], greedy=True)

Expected: at least l, |, 1

Actual: False

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant