2020-01-24 10:14:51 +01:00
|
|
|
//
|
|
|
|
// MacChineseSimpEncoding.h
|
|
|
|
//
|
|
|
|
// Library: Encodings
|
|
|
|
// Package: Encodings
|
|
|
|
// Module: MacChineseSimpEncoding
|
|
|
|
//
|
|
|
|
// Definition of the Windows1252Encoding class.
|
|
|
|
//
|
|
|
|
// Copyright (c) 2019, Applied Informatics Software Engineering GmbH.
|
|
|
|
// and Contributors.
|
|
|
|
//
|
|
|
|
// SPDX-License-Identifier: BSL-1.0
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef Encodings_MacChineseSimpEncoding_INCLUDED
|
|
|
|
#define Encodings_MacChineseSimpEncoding_INCLUDED
|
|
|
|
|
|
|
|
|
|
|
|
#include "Poco/DoubleByteEncoding.h"
|
|
|
|
|
|
|
|
|
|
|
|
namespace Poco {
|
|
|
|
|
|
|
|
|
|
|
|
class Encodings_API MacChineseSimpEncoding: public DoubleByteEncoding
|
|
|
|
/// MacChineseSimp Encoding.
|
|
|
|
///
|
|
|
|
/// This text encoding class has been generated from
|
|
|
|
/// http://www.unicode.org/Public/MAPPINGS/VENDORS/APPLE/CHINSIMP.TXT.
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
MacChineseSimpEncoding();
|
|
|
|
~MacChineseSimpEncoding();
|
2022-07-07 11:18:20 +02:00
|
|
|
|
2020-01-24 10:14:51 +01:00
|
|
|
private:
|
|
|
|
static const char* _names[];
|
|
|
|
static const CharacterMap _charMap;
|
|
|
|
static const Mapping _mappingTable[];
|
|
|
|
static const Mapping _reverseMappingTable[];
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
} // namespace Poco
|
|
|
|
|
|
|
|
|
|
|
|
#endif // Encodings_MacChineseSimpEncoding_INCLUDED
|