Logo Search packages:      
Sourcecode: ocropus version File versions  Download package

nustring.h File Reference

Detailed Description

Unicode strings.

Definition in file nustring.h.

#include <stdlib.h>
#include <string.h>
#include "narray.h"

Go to the source code of this file.


namespace  colib


struct  colib::nuchar
class  colib::nustring


static bool colib::decode_nuchar (nuchar &c, int &offset, const char *utf8, int n)
static int colib::encode_nuchar (narray< char > &utf8, nuchar c)
const char * colib::malloc_utf8_encode (intarray &data)
static int colib::nustring_length (unsigned char a)
void colib::utf8_decode (intarray &result, const char *s, int n=-1)
void colib::utf8_encode (bytearray &s, intarray &a)
void colib::utf8_encode (narray< char > &s, intarray &a)

Generated by  Doxygen 1.6.0   Back to index