--- parser3/src/include/pa_charset.h 2003/11/06 09:11:35 1.26 +++ parser3/src/include/pa_charset.h 2004/02/18 12:46:49 1.30 @@ -1,14 +1,14 @@ /** @file Parser: Charset connection decl. - Copyright (c) 2001-2003 ArtLebedev Group (http://www.artlebedev.com) + Copyright (c) 2001-2004 ArtLebedev Group (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) */ #ifndef PA_CHARSET_H #define PA_CHARSET_H -static const char* IDENT_CHARSET_H="$Date: 2003/11/06 09:11:35 $"; +static const char * const IDENT_CHARSET_H="$Date: 2004/02/18 12:46:49 $"; #include "pa_exception.h" @@ -57,6 +57,7 @@ public: Charset(Request_charsets* charsets, const String::Body ANAME, const String* afile_spec); const String::Body NAME() const { return FNAME; } + const char* NAME_CSTR() const { return FNAME_CSTR; } bool isUTF8() const { return fisUTF8; } @@ -169,7 +170,8 @@ private: extern Charset::UTF8CaseTable UTF8CaseToUpper; extern Charset::UTF8CaseTable UTF8CaseToLower; -void change_case_UTF8(const XMLByte* srcData, XMLByte* toFill, +void change_case_UTF8(const XMLByte* srcData, size_t srcLen, + XMLByte* toFill, size_t toFillLen, const Charset::UTF8CaseTable& table);