1 // 2 // Windows936Encoding.h 3 // 4 // Library: Encodings 5 // Package: Encodings 6 // Module: Windows936Encoding 7 // 8 // Definition of the Windows1252Encoding class. 9 // 10 // Copyright (c) 2018, Applied Informatics Software Engineering GmbH. 11 // and Contributors. 12 // 13 // SPDX-License-Identifier: BSL-1.0 14 // 15 16 17 #ifndef Encodings_Windows936Encoding_INCLUDED 18 #define Encodings_Windows936Encoding_INCLUDED 19 20 21 #include "Poco/DoubleByteEncoding.h" 22 23 24 namespace Poco { 25 26 27 class Encodings_API Windows936Encoding: public DoubleByteEncoding 28 /// windows-936 Encoding. 29 /// 30 /// This text encoding class has been generated from 31 /// http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP936.TXT. 32 { 33 public: 34 Windows936Encoding(); 35 ~Windows936Encoding(); 36 37 private: 38 static const char* _names[]; 39 static const CharacterMap _charMap; 40 static const Mapping _mappingTable[]; 41 static const Mapping _reverseMappingTable[]; 42 }; 43 44 45 } // namespace Poco 46 47 48 #endif // Encodings_Windows936Encoding_INCLUDED 49