Main Page
Namespaces
Data Structures
Files
Directories
S
earch for
File List
Globals
C:
»
dev
»
sandbox
»
xsb_release
»
XSB
»
packages
»
sgml
»
cc
utf8.c File Reference
#include "
utf8.h
"
#include <stdio.h>
Defines
#define
CONT
(
i
) ((in[
i
]&0xc0) == 0x80)
#define
VAL
(
i
, s) ((in[
i
]&0x3f) << s)
Functions
char *
__utf8_get_char
(const char *in,
int
*chr)
Define Documentation
#define CONT
(
i
)
((in[
i
]&0xc0) == 0x80)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - UTF-8 Decoding, based on
http://www.cl.cam.ac.uk/~mgk25/unicode.html
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#define VAL
(
i
,
s
)
((in[
i
]&0x3f) << s)
Function Documentation
char* __utf8_get_char
(
const char *
in
,
int
*
chr
)
Generated on Wed Jul 26 13:26:56 2006 for XSB by
1.4.5