char2uni man page on Cygwin

Man page or keyword search:  
man Server   22533 pages
apropos Keyword Search (all sections)
Output format
Cygwin logo
[printable version]

char2uni(1)	   libAfterImage image manipulation library	   char2uni(1)

NAME
       char2uni -  handling  on	 Unicode,  UTF-8 and localized 8 bit encodings
       libAfterImage/CHAR_SIZE

NAMECHAR_SIZE
       - Convinient macro so we can  transparently  determine  the  number  of
       bytes  that  character  spans.  It  assumes UTF-8 encoding when I18N is
       enabled.

SOURCE
       Source :
       /* size of the UTF-8 encoded character is based on value of
	* the first byte : */
       #define UTF8_CHAR_SIZE(c)   ((((c)&0xC0)==0xC0)?				     (((c)&0x20)?			       (((c)&0x10)?				 (((c)&0x08)?				   (((c)&0x04)?6:5):4):3):2):1)
       #ifdef WIN32
       #define UNICODE_CHAR_SIZE(c)    sizeof(UNICODE_CHAR)
       #endif
       #define CHAR_SIZE(c)	       1

3rd Berkeley Distribution    libAfterImage v.1.18		   char2uni(1)
[top]

List of man pages available for Cygwin

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net