Skip to main content
7 events
when toggle format what by license comment
Mar 23, 2017 at 17:31 vote accept Stéphane Chazelas
Oct 30, 2016 at 8:53 comment added Stéphane Chazelas @rici, see edit (and also of the question).
Oct 30, 2016 at 8:52 history undeleted Stéphane Chazelas
Oct 30, 2016 at 8:51 history edited Stéphane Chazelas CC BY-SA 3.0
added 3905 characters in body
May 9, 2014 at 14:37 history deleted Stéphane Chazelas via Vote
May 8, 2014 at 19:46 comment added rici I think this is effectively the only way to do it, but it suffers from several problems, starting with the fact that you used prior knowledge to decide about the range of legal codepoints. In theory at least, if you're using a Unicode charmap, the character classes are independent of the script (according to Unicode standard, not C locales), but the Unicode "general categories" are not the same as C character classes either. BTW, glibc's i18n ctypes include two more character classes: combining and combining_level3 (viz. iswctype(i, wctype("combining")))
May 7, 2014 at 16:21 history answered Stéphane Chazelas CC BY-SA 3.0