--- parser3/src/include/pa_charset.h 2008/07/16 17:07:11 1.37 +++ parser3/src/include/pa_charset.h 2008/07/23 14:06:04 1.39 @@ -8,7 +8,7 @@ #ifndef PA_CHARSET_H #define PA_CHARSET_H -static const char * const IDENT_CHARSET_H="$Date: 2008/07/16 17:07:11 $"; +static const char * const IDENT_CHARSET_H="$Date: 2008/07/23 14:06:04 $"; #include "pa_exception.h" @@ -19,7 +19,7 @@ static const char * const IDENT_CHARSET_ // hiding into namespace so to avoid stupid conflict namespace PCRE { #include "pcre.h" -# include "internal.h" +#include "internal.h" }; #ifdef XML @@ -58,8 +58,7 @@ public: static String::C transcode(const String::C src, const Charset& source_charset, - const Charset& dest_charset - ); + const Charset& dest_charset); static String& transcode(const String& src, const Charset& source_transcoder, @@ -80,6 +79,12 @@ public: static String::C escape(const String::C src, const Charset& source_charset); + static String::Body escape(const String::Body src, + const Charset& source_charset); + + static String& escape(const String& src, + const Charset& source_charset); + void store_Char(XMLByte*& outPtr, XMLCh src, XMLByte not_found); #ifdef XML