00001 /* 00002 * 00003 * 00004 * Copyright 1998 CrossWire Bible Society (http://www.crosswire.org) 00005 * CrossWire Bible Society 00006 * P. O. Box 2528 00007 * Tempe, AZ 85280-2528 00008 * 00009 * This program is free software; you can redistribute it and/or modify it 00010 * under the terms of the GNU General Public License as published by the 00011 * Free Software Foundation version 2. 00012 * 00013 * This program is distributed in the hope that it will be useful, but 00014 * WITHOUT ANY WARRANTY; without even the implied warranty of 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00016 * General Public License for more details. 00017 * 00018 */ 00019 00020 #ifndef SCSUUTF8_H 00021 #define SCSUUTF8_H 00022 00023 #include <swfilter.h> 00024 00025 #include <defs.h> 00026 00029 class SWDLLEXPORT SCSUUTF8:public SWFilter { 00030 private: 00031 unsigned char* UTF8Output(unsigned long, unsigned char* text); 00032 00033 unsigned long c, d; 00034 00035 00036 public: 00037 SCSUUTF8(); 00038 virtual char ProcessText (char *text, int maxlen, const SWKey *key, const SWModule * = 0); 00039 }; 00040 00041 #endif