1UNICODE_UC(3)               Courier Unicode Library              UNICODE_UC(3)
2
3
4

NAME

6       unicode_uc, unicode_lc, unicode_tc, unicode_convert_tocase - unicode
7       uppercase, lowercase, and titlecase character lookup
8

SYNOPSIS

10       #include <courier-unicode.h>
11
12       char32_t unicode_uc(char32_t c);
13
14       char32_t unicode_lc(char32_t c);
15
16       char32_t unicode_tc(char32_t c);
17
18       char *unicode_convert_tocase(const char *str, const char *charset,
19                                    char32_t (*first_char_func)(uncode_char),
20                                    char32_t (*char_func)(uncode_char));
21

DESCRIPTION

23       unicode_uc(), unicode_lc(), unicode_tc() return the uppercase,
24       lowercase, or the titlecase equivalent of the unicode character c. If
25       this character does not have an uppercase, lowercase, or a titlecase
26       equivalent, these functions return c, the same character.
27
28       unicode_convert_tocase() takes the string str in the character set
29       charset.  first_char_func and char_func, each, should be unicode_uc,
30       unicode_lc, or unicode_tc.  unicode_convert_tocase() returns a
31       malloc()ed buffer. The first unicode character in str gets processed by
32       first_char_func, and all other characters by char_func.
33

SEE ALSO

35       courier-unicode(7), unicode_convert(3), unicode_default_chset(3),
36       unicode_html40ent_lookup(3), unicode_category_lookup(3),
37       unicode_grapheme_break(3), unicode_word_break(3),
38       unicode_line_break(3).
39

AUTHOR

41       Sam Varshavchik
42           Author
43
44
45
46Courier Unicode Library           03/11/2017                     UNICODE_UC(3)
Impressum