islower: include the Other_Lowercase characters.

This commit is contained in:
Reece H. Dunn
2017-02-12 17:28:22 +00:00
parent 9d1469b956
commit b38659582f
2 changed files with 36 additions and 4 deletions
+2 -2
View File
@@ -109,9 +109,9 @@ def isupper(data):
return 0
def islower(data):
if data.get('UpperCase', null) != null:
if data.get('Lowercase', 0):
return 1
elif data.get('GeneralCategory', 'Cn') == 'Ll':
elif data.get('UpperCase', null) != null:
return 1
else:
return 0