xapian-core  1.4.19
Namespaces | Functions
utf8itor.cc File Reference

iterate over a utf8 string. More...

#include <config.h>
#include <xapian/unicode.h>
#include <cstring>
+ Include dependency graph for utf8itor.cc:

Go to the source code of this file.

Namespaces

 Xapian
 The Xapian namespace contains public interfaces for the Xapian library.
 
 Xapian::Unicode
 Functions associated with handling Unicode characters.
 

Functions

static bool bad_cont (unsigned char ch)
 
unsigned Xapian::Unicode::nonascii_to_utf8 (unsigned ch, char *buf)
 Convert a single non-ASCII Unicode character to UTF-8. More...
 

Detailed Description

iterate over a utf8 string.

Definition in file utf8itor.cc.

Function Documentation

◆ bad_cont()

static bool bad_cont ( unsigned char  ch)
inlinestatic

Definition at line 29 of file utf8itor.cc.

Referenced by Xapian::Utf8Iterator::calculate_sequence_length().