How can I find out if a specific character in a QString is a letter or punctuation in any language?
For example I want to find the . in gâteau. but not the â.
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.
Try
It will return true for the unicode classes Letter_Uppercase/Lowercase/Titlecase/Modifier/Other. Which you can see here:
http://www.sql-und-xml.de/unicode-database/lu.html
http://www.sql-und-xml.de/unicode-database/ll.html
http://www.sql-und-xml.de/unicode-database/lt.html
http://www.sql-und-xml.de/unicode-database/lm.html
http://www.sql-und-xml.de/unicode-database/lo.html