Provides fallback API to handle encoding error. Objects of this class should only be allocated using ...
Definition: encoder_fallback.h:15
Provides fallback strategy of replacing erroneous symbol with a stub. Objects of this class should on...
Definition: encoder_replacement_fallback.h:18
virtual int get_MaxCharCount() const override
Gets maximal count of characters the instance can return.
Definition: encoder_replacement_fallback.h:36
EncoderReplacementFallback()
Constructor that uses deafault "?" replacement string.
~EncoderReplacementFallback() override
Destructor.
EncoderReplacementFallback(const String &replacement_)
Constructor.
virtual EncoderFallbackBufferPtr CreateFallbackBuffer() override
Creates fallback buffer.
const String & get_DefaultString() const
Gets replacement string.
Definition: encoder_replacement_fallback.h:33