We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bea244 commit 503e84eCopy full SHA for 503e84e
confusables.py
@@ -768,6 +768,7 @@
768
u'\uABB6': 'k',
769
u'\u049B': 'k',
770
u'\u049F': 'k',
771
+ u'\u1E33': 'k',
772
u'\U00010320': 'l',
773
u'\U0001E8C7': 'l',
774
u'\U0001D7CF': 'l',
@@ -1823,7 +1824,7 @@
1823
1824
}
1825
1826
def unconfuse(domain):
- if domain.startswith('xn--'):
1827
+ if domain.startswith('xn--') or domain.find('xn--'):
1828
domain = domain.encode('idna').decode('idna')
1829
unconfused = ''
1830
for i in range(len(domain)):
0 commit comments