--- parser3/src/include/pa_charset.h 2010/08/27 02:53:34 1.45 +++ parser3/src/include/pa_charset.h 2010/08/29 21:23:40 1.46 @@ -8,7 +8,7 @@ #ifndef PA_CHARSET_H #define PA_CHARSET_H -static const char * const IDENT_CHARSET_H="$Date: 2010/08/27 02:53:34 $"; +static const char * const IDENT_CHARSET_H="$Date: 2010/08/29 21:23:40 $"; #include "pa_exception.h" @@ -147,13 +147,13 @@ private: void initTranscoder(const String::Body name, const char* name_cstr); static size_t calc_escaped_length_UTF8(XMLByte* src, size_t src_length); - static size_t calc_escaped_length(XMLByte* src, size_t src_length, const Charset::Tables& tables); + static size_t calc_escaped_length(const XMLByte* src, size_t src_length, const Charset::Tables& tables); static size_t calc_escaped_length(const String::C src, const Charset& source_charset); static size_t escape_UTF8(const XMLByte* src, size_t src_length, XMLByte* dest); static size_t escape(const XMLByte* src, size_t src_length, XMLByte* dest, const Charset::Tables& tables); static size_t calc_JSON_escaped_length_UTF8(XMLByte* src, size_t src_length); - static size_t calc_JSON_escaped_length(XMLByte* src, size_t src_length, const Charset::Tables& tables); + static size_t calc_JSON_escaped_length(const XMLByte* src, size_t src_length, const Charset::Tables& tables); static size_t calc_JSON_escaped_length(const String::C src, const Charset& source_charset); static size_t escape_JSON_UTF8(const XMLByte* src, size_t src_length, XMLByte* dest); static size_t escape_JSON(const XMLByte* src, size_t src_length, XMLByte* dest, const Charset::Tables& tables);