from small one page howto to huge articles all in one place
 

search text in:





Poll
What does your sytem tell when running "ulimit -u"?








poll results

Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

195651

userrating:

average rating: 1.7 (102 votes) (1=very good 6=terrible)


May 25th. 2007:
Words

486

Views

252057

why adblockers are bad


Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

words:

161

views:

140922

userrating:

average rating: 1.4 (42 votes) (1=very good 6=terrible)


April, 26th. 2006:

Druckversion
You are here: manpages





UNICODE_CATEGORY_LOO

Section: Courier Unicode Library (3)
Updated: 07/29/2015
Index Return to Main Contents
 

NAME

unicode_category_lookup, unicode_isalnum, unicode_isalpha, unicode_isblank, unicode_isdigit, unicode_isgraph, unicode_islower, unicode_ispunct, unicode_isspace, unicode_isupper - unicode character categorization  

SYNOPSIS

#include <courier-unicode.h>
uint32_t unicode_category_lookup(unicode_char c);
int unicode_isalnum(unicode_char c);
int unicode_isalpha(unicode_char c);
int unicode_isblank(unicode_char c);
int unicode_isdigit(unicode_char c);
int unicode_isgraph(unicode_char c);
int unicode_islower(unicode_char c);
int unicode_ispunct(unicode_char c);
int unicode_isspace(unicode_char c);
int unicode_isupper(unicode_char c);
 

DESCRIPTION

unicode_category_lookup() looks up the m[blue]unicode character's categorizationm[][1]. unicode_category_lookup() returns a 32 bit value. The value's

UNICODE_CATEGORY_1 bits specify the first level of the unicode character's category, with UNICODE_CATEGORY_2, UNICODE_CATEGORY_3, and UNICODE_CATEGORY_4 bits specifying the 2nd, 3rd, and 4th level, if given. A value of 0 for each corresponding bit set indicates that no category is specified for this level, for this character; otherwise the possible values are defined in <courier-unicode.h>.

The remaining functions implement comparable equivalents of their non-unicode versions in the standard C library, as follows:

unicode_isalnum()

Returns non-0 for all unicode_isalpha() or unicode_isdigit().

unicode_isalpha()

Returns non-0 for all UNICODE_CATEGORY_1_LETTER.

unicode_isblank()

Return non-0 for TAB, and all UNICODE_CATEGORY_2_SPACE.

unicode_isdigit()

Returns non-0 for all UNICODE_CATEGORY_1_NUMBER | UNICODE_CATEGORY_2_DIGIT, only (no third categories).

unicode_isgraph()

Returns non-0 for all codepoints above SPACE which are not unicode_isspace().

unicode_islower()

Returns non-0 for all unicode_isalpha() for which the character is equal to unicode_lc(3) of itself.

unicode_ispunct()

Returns non-0 for all UNICODE_CATEGORY_1_PUNCTUATION.

unicode_isspace()

Returns non-0 for unicode_isblank() or for unicode characters with linebreaking properties of BK, CR, LF, NL, and SP.

unicode_isupper()

Returns non-0 for all unicode_isalpha() for which the character is equal to unicode_uc(3) of itself.
 

SEE ALSO

courier-unicode(7), unicode_convert_tocase(3).  

AUTHOR

Sam Varshavchik

Author
 

NOTES

1.
unicode character's categorization
http://unicode.org/notes/tn36/


 

Index

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO
AUTHOR
NOTES





Support us on Content Nation
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2020 Sascha Nitsch Unternehmensberatung GmbH
Valid XHTML1.1 : Valid CSS : buttonmaker
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 16.0 ms