debian man page for char2uni

Query: char2uni

OS: debian

Section: 3x

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

char2uni(3x)						   AfterStep X11 window manager 					      char2uni(3x)

NAME
char2uni - handling on Unicode, UTF-8 and localized 8 bit encodings libAfterImage/CHAR_SIZE NAMECHAR_SIZE - Convenient macro so we can transparently determine the number of bytes that character spans. It assumes UTF-8 encoding when I18N is enabled.
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 AfterStep v.2.2.11 char2uni(3x)
Related Man Pages
utf8(7) - redhat
ascmap(3x) - debian
common(3x) - debian
mb_detect_order(3) - php
sqlite_libencoding(3) - php
Similar Topics in the Unix Linux Community
Installing Dash Shell on OS X Lion
One instance of comparing grep and awk
How to copy a column of multiple files and paste into new excel file (next to column)?
My first PERL incarnation... Audio Oscillograph