The Sword Project: swunicod.h Source File |
00001 /* 00002 * 00003 * Copyright 1998 CrossWire Bible Society (http://www.crosswire.org) 00004 * CrossWire Bible Society 00005 * P. O. Box 2528 00006 * Tempe, AZ 85280-2528 00007 * 00008 * This program is free software; you can redistribute it and/or modify it 00009 * under the terms of the GNU General Public License as published by the 00010 * Free Software Foundation version 2. 00011 * 00012 * This program is distributed in the hope that it will be useful, but 00013 * WITHOUT ANY WARRANTY; without even the implied warranty of 00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00015 * General Public License for more details. 00016 * 00017 */ 00018 00019 00020 #ifndef SWUNICOD_H 00021 #define SWUNICOD_H 00022 00023 #include <defs.h> 00024 SWORD_NAMESPACE_START 00025 00031 unsigned char* UTF32to8 (unsigned long utf32, unsigned char * utf8); 00032 00033 00039 unsigned long UTF8to32 (unsigned char * utf8, unsigned long utf32); 00040 00041 SWORD_NAMESPACE_END 00042 00043 #endif
The SWORD Project; P. O. Box 2528; Tempe, AZ 85280-2528 USA |