I need to analyze pressed key if it is alphabet (for all languages) in UTF-8 encoding. Is that possbile in anyway?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
With the XRegExp library and its Unicode plugin you can use this single call to test if a character is a Unicode letter:
Otherwise you can look all that Unicode letters up on your own.
Edit Ok, here are the character ranges from the mentioned plugin’s source code in a character class: