I'm trying to validate user input (in Python) and see if the right language is being used, Korean in this case. Lets take the Korean word for email address: 이메일 주소
I can check each character like so:
import unicodedata as ud for chr in u'이메일 주소': if 'HANGUL' in ud.name(chr): print "Yep, that's a Korean character."
But that seems highly inefficient, especially for longer texts. Of course, I c...