--- parser3/src/include/pa_charset.h 2025/06/28 15:38:04 1.62 +++ parser3/src/include/pa_charset.h 2026/11/26 21:25:03 1.65 @@ -1,14 +1,14 @@ /** @file Parser: Charset connection decl. - Copyright (c) 2001-2024 Art. Lebedev Studio (http://www.artlebedev.com) + Copyright (c) 2001-2026 Art. Lebedev Studio (https://www.artlebedev.com) Authors: Konstantin Morshnev , Alexandr Petrosian */ #ifndef PA_CHARSET_H #define PA_CHARSET_H -#define IDENT_PA_CHARSET_H "$Id: pa_charset.h,v 1.62 2025/06/28 15:38:04 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 };