Switch to unified view

a/src/utils/utf8iter.cpp b/src/utils/utf8iter.cpp
...
...
30
#endif /* NO_NAMESPACES */
30
#endif /* NO_NAMESPACES */
31
31
32
#define UTF8ITER_CHECK
32
#define UTF8ITER_CHECK
33
#include "utf8iter.h"
33
#include "utf8iter.h"
34
#include "readfile.h"
34
#include "readfile.h"
35
#include "textsplit.h"
36
37
void tryempty()
38
{
39
    Utf8Iter it("");
40
    cout << "EOF ? " << it.eof() << endl;
41
    TextSplit::isCJK(*it);
42
    exit(0);
43
}
35
44
36
const char *thisprog;
45
const char *thisprog;
37
static char usage [] =
46
static char usage [] =
38
    "utf8iter [opts] infile outfile\n"
47
    "utf8iter [opts] infile outfile\n"
39
    " converts infile to 32 bits unicode (processor order), for testing\n"
48
    " converts infile to 32 bits unicode (processor order), for testing\n"