--- parser3/src/include/pa_charset.h 2026/04/25 13:38:46 1.63 +++ parser3/src/include/pa_charset.h 2026/11/26 21:25:03 1.65 @@ -8,7 +8,7 @@ #ifndef PA_CHARSET_H #define PA_CHARSET_H -#define IDENT_PA_CHARSET_H "$Id: pa_charset.h,v 1.63 2026/04/25 13:38:46 moko Exp $" +#define IDENT_PA_CHARSET_H "$Id: pa_charset.h,v 1.65 2026/11/26 21:25:03 moko Exp $" #include "pa_exception.h" @@ -35,6 +35,8 @@ #define MAX_CHARSET_UNI_CODES 500 +#define CHARSET_LATIN1_NAME "ISO-8859-1" + #ifndef XMLCh typedef unsigned int XMLCh; #endif @@ -83,6 +85,7 @@ public: private: void load_definition(Request_charsets& charsets, const String& afile_spec); + void load_latin1(); void sort_ToTable(); const String::C transcodeToUTF8(const String::C src) const; @@ -152,11 +155,6 @@ public: /// converts parser String::Body to xmlChar* xmlChar* transcode(const String::Body s); -private: - - xmlCharEncodingInputFunc ftranscoder_input; - xmlCharEncodingOutputFunc ftranscoder_output; - #endif };