1//
2// Encodings.cpp
3//
4// Library: Encodings
5// Package: Encodings
6// Module: Encodings
7//
8// Copyright (c) 2018, Applied Informatics Software Engineering GmbH.
9// and Contributors.
10//
11// SPDX-License-Identifier: BSL-1.0
12//
13
14
15#include "Poco/Encodings.h"
16#include "Poco/TextEncoding.h"
17#include "Poco/ISO8859_10Encoding.h"
18#include "Poco/ISO8859_11Encoding.h"
19#include "Poco/ISO8859_13Encoding.h"
20#include "Poco/ISO8859_14Encoding.h"
21#include "Poco/ISO8859_16Encoding.h"
22#include "Poco/ISO8859_3Encoding.h"
23#include "Poco/ISO8859_4Encoding.h"
24#include "Poco/ISO8859_5Encoding.h"
25#include "Poco/ISO8859_6Encoding.h"
26#include "Poco/ISO8859_7Encoding.h"
27#include "Poco/ISO8859_8Encoding.h"
28#include "Poco/ISO8859_9Encoding.h"
29#include "Poco/Windows1253Encoding.h"
30#include "Poco/Windows1254Encoding.h"
31#include "Poco/Windows1255Encoding.h"
32#include "Poco/Windows1256Encoding.h"
33#include "Poco/Windows1257Encoding.h"
34#include "Poco/Windows1258Encoding.h"
35#include "Poco/Windows874Encoding.h"
36#include "Poco/Windows932Encoding.h"
37#include "Poco/Windows936Encoding.h"
38#include "Poco/Windows949Encoding.h"
39#include "Poco/Windows950Encoding.h"
40
41
42namespace Poco {
43
44
45void registerExtraEncodings()
46{
47 TextEncoding::add(new ISO8859_10Encoding);
48 TextEncoding::add(new ISO8859_11Encoding);
49 TextEncoding::add(new ISO8859_13Encoding);
50 TextEncoding::add(new ISO8859_14Encoding);
51 TextEncoding::add(new ISO8859_16Encoding);
52 TextEncoding::add(new ISO8859_3Encoding);
53 TextEncoding::add(new ISO8859_4Encoding);
54 TextEncoding::add(new ISO8859_5Encoding);
55 TextEncoding::add(new ISO8859_6Encoding);
56 TextEncoding::add(new ISO8859_7Encoding);
57 TextEncoding::add(new ISO8859_8Encoding);
58 TextEncoding::add(new ISO8859_9Encoding);
59 TextEncoding::add(new Windows1253Encoding);
60 TextEncoding::add(new Windows1254Encoding);
61 TextEncoding::add(new Windows1255Encoding);
62 TextEncoding::add(new Windows1256Encoding);
63 TextEncoding::add(new Windows1257Encoding);
64 TextEncoding::add(new Windows1258Encoding);
65 TextEncoding::add(new Windows874Encoding);
66 TextEncoding::add(new Windows932Encoding);
67 TextEncoding::add(new Windows936Encoding);
68 TextEncoding::add(new Windows949Encoding);
69 TextEncoding::add(new Windows950Encoding);
70}
71
72
73} // namespace Poco
74
75