X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fstringcodec%2Futf8.h;h=94c627ec5a0ca0f905eac01ea4a4de4ef35fb934;hp=fcf23eff35e55e0a03532f9e9b541ea2ac4a6414;hb=017feade2799ddbecad62b9a7911bf4d3e229dad;hpb=a386a9ff068071aab19e6dcb0452e72784d84267 diff --git a/source/stringcodec/utf8.h b/source/stringcodec/utf8.h index fcf23ef..94c627e 100644 --- a/source/stringcodec/utf8.h +++ b/source/stringcodec/utf8.h @@ -12,7 +12,7 @@ public: class Encoder: public Codec::Encoder { public: - Encoder(ErrorMode em = THROW_ON_ERROR): Codec::Encoder(em) { } + Encoder(ErrorMode em = DEFAULT): Codec::Encoder(em) { } virtual void encode_char(unichar, std::string &); private: @@ -22,12 +22,12 @@ public: class Decoder: public Codec::Decoder { public: - Decoder(ErrorMode em = THROW_ON_ERROR): Codec::Decoder(em) { } + Decoder(ErrorMode em = DEFAULT): Codec::Decoder(em) { } virtual unichar decode_char(const std::string &, std::string::const_iterator &); }; - Utf8(ErrorMode em = THROW_ON_ERROR): StandardCodec(em) { } + Utf8(ErrorMode em = DEFAULT): StandardCodec(em) { } virtual const char *get_name() const { return "UTF-8"; } };