lci/unicode.h

24 lines
525 B
C
Raw Normal View History

/**
* Data and functions for converting from Unicode normative names to Unicode
* code points.
*
* \file unicode.h
*
* \author Justin J. Meza
*
2012-12-13 05:02:17 +00:00
* \date 2010-2012
*/
2010-08-09 07:01:59 +00:00
#ifndef __UNICODE_H__
#define __UNICODE_H__
#include <stdio.h>
#include <string.h>
int binarySearch(const char **, int, int, const char *);
unsigned int binarySearchIndex(const char **, int, int, const char *);
2010-08-09 07:01:59 +00:00
long convertNormativeNameToCodePoint(const char *);
2010-12-21 08:20:31 +00:00
size_t convertCodePointToUTF8(unsigned long, char *);
2010-08-09 07:01:59 +00:00
#endif /* __UNICODE_H_ */