GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
UNICODE_UC(3) Courier Unicode Library UNICODE_UC(3)

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

#include <courier-unicode.h>

char32_t unicode_uc(char32_t c);

char32_t unicode_lc(char32_t c);

char32_t unicode_tc(char32_t c);

char *unicode_convert_tocase(const char *str, const char *charset, char32_t (*first_char_func)(uncode_char), char32_t (*char_func)(uncode_char));

unicode_uc(), unicode_lc(), unicode_tc() return the uppercase, lowercase, or the titlecase equivalent of the unicode character c. If this character does not have an uppercase, lowercase, or a titlecase equivalent, these functions return c, the same character.

unicode_convert_tocase() takes the string str in the character set charset. first_char_func and char_func, each, should be unicode_uc, unicode_lc, or unicode_tc. unicode_convert_tocase() returns a malloc()ed buffer. The first unicode character in str gets processed by first_char_func, and all other characters by char_func.

courier-unicode(7), unicode_convert(3), unicode_default_chset(3), unicode_html40ent_lookup(3), unicode_category_lookup(3), unicode_grapheme_break(3), unicode_word_break(3), unicode_line_break(3).

Sam Varshavchik
Author
03/12/2021 Courier Unicode Library

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.