Function

CFCharacterSetIsCharacterMember

Reports whether or not a given Unicode character is in a character set.

Declaration

Boolean CFCharacterSetIsCharacterMember(CFCharacterSetRef theSet, UniChar theChar);

Parameters

theSet

The character set to examine.

theChar

The Unicode character for which to test against the character set. Note that this function takes 16-bit Unicode character value; hence, it does not support access to the non-BMP planes.

Return Value

true if theSet contains theChar, otherwise false.

See Also

Querying Character Sets

CFCharacterSetCreateBitmapRepresentation

Creates a new immutable data with the bitmap representation from the given character set.

CFCharacterSetHasMemberInPlane

Reports whether or not a character set contains at least one member character in the specified plane.

CFCharacterSetIsLongCharacterMember

Reports whether or not a given UTF-32 character is in a character set.

CFCharacterSetIsSupersetOfSet

Reports whether or not a character set is a superset of another set.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software