|
a/src/utils/utf8iter.h |
|
b/src/utils/utf8iter.h |
|
... |
|
... |
14 |
* Free Software Foundation, Inc.,
|
14 |
* Free Software Foundation, Inc.,
|
15 |
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
15 |
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
16 |
*/
|
16 |
*/
|
17 |
#ifndef _UTF8ITER_H_INCLUDED_
|
17 |
#ifndef _UTF8ITER_H_INCLUDED_
|
18 |
#define _UTF8ITER_H_INCLUDED_
|
18 |
#define _UTF8ITER_H_INCLUDED_
|
19 |
/* @(#$Id: utf8iter.h,v 1.9 2007-09-20 08:45:05 dockes Exp $ (C) 2004 J.F.Dockes */
|
19 |
/* @(#$Id: utf8iter.h,v 1.10 2007-09-22 08:51:29 dockes Exp $ (C) 2004 J.F.Dockes */
|
|
|
20 |
|
|
|
21 |
#ifdef UTF8ITER_CHECK
|
|
|
22 |
#include "assert.h"
|
|
|
23 |
#endif
|
20 |
|
24 |
|
21 |
/**
|
25 |
/**
|
22 |
* A small helper class to iterate over utf8 strings. This is not an
|
26 |
* A small helper class to iterate over utf8 strings. This is not an
|
23 |
* STL iterator and does not much error checking. It is designed purely
|
27 |
* STL iterator and does not much error checking. It is designed purely
|
24 |
* for recoll usage, where the utf-8 string comes out of iconv in most cases
|
28 |
* for recoll usage, where the utf-8 string comes out of iconv in most cases
|