[plt-scheme] Unicode Categories

From: Paulo J. Matos (pocmatos at gmail.com)
Date: Tue May 19 06:47:44 EDT 2009


Is there any way to know if a character is in a unicode category?

Something like:
(mem-unicode-cat? c cat)
c : char?
cat : symbol?

cat represents a unicode category and returns #t iff c is a character
in the category represented by cat.

If something like this is not available, is there straightforward way
of implementing it? [since I don't want to spend too much time looking
into unicode stuff]


Paulo Jorge Matos - pocmatos at gmail.com
Webpage: http://www.personal.soton.ac.uk/pocm

Posted on the users mailing list.