1 // Copyright (c) 1996 James Clark
2 // See the file COPYING for copying permission.
4 #ifndef Win32CodingSystem_INCLUDED
5 #define Win32CodingSystem_INCLUDED 1
11 #include "CodingSystem.h"
15 namespace SP_NAMESPACE {
18 class SP_API Win32CodingSystem : public CodingSystem {
20 enum SpecialCodePage {
24 Win32CodingSystem(unsigned int codePage, Char defaultChar = 0xfffd);
25 Win32CodingSystem(SpecialCodePage, Char defaultChar = 0xfffd);
26 Boolean isValid() const;
27 Decoder *makeDecoder() const;
28 Encoder *makeEncoder() const;
30 unsigned int codePage_;
38 #endif /* not Win32CodingSystem_INCLUDED */