4 * Copyright (c) 2008 James McKenzie <james@fishsoup.dhs.org>,
9 static char rcsid[] = "$Id$";
13 * Revision 1.1 2008/02/22 19:12:05 james
14 * *** empty log message ***
21 /*FIXME: for the moment we bodge utf8 support*/
22 if ((ch>=0xc0) && (ch<0xe0)) /*Start of two byte unicode sequence*/
25 } else if ((ch>=0xe0) && (ch<0xf0)) /*Start of three byte unicode sequence*/
28 } else if ((ch>=0xf0) && (ch<0xf7)) /*Start of four byte unicode sequence*/
38 /*Not first or last byte in sequence*/