#include <AsciiUtfEncoding.h>
Inheritance diagram for acdk::locale::AsciiUtfEncoding:
There are 2 variants:
This implements the Java Literal encoding, which is also be used in properties files
Used in ASCII source code to decode UCS2 streams
Public Member Functions | |
float | averageBytesPerChar () |
return the average bytes used to encode one character | |
float | maxBytesPerChar () |
return the maximum count of bytes use to encode one character | |
virtual REncoder | getEncoder (CodingErrorAction onMalformed=ReportCodingError, CodingErrorAction onUnmappable=ReplaceCodingError) |
virtual RDecoder | getDecoder (CodingErrorAction onMalformed=ReportCodingError, CodingErrorAction onUnmappable=ReplaceCodingError) |
Static Public Member Functions | |
REncoding | getAsciiUtfEncoding () |
REncoding | getAsciiUtfCEscapeEncoding () |
REncoding | getAsciiUtfCEscapeEncoding (IN(RString)) |
REncoding | getAsciiUtfEncoding (IN(RString)) |
Protected Member Functions | |
AsciiUtfEncoding (bool withCEscapes=true) | |
if withCEscapes = true also are encodes as \n | |
Protected Attributes | |
bool | _withCEscapes |
|
if withCEscapes = true also
|
|
return the average bytes used to encode one character
Implements acdk::locale::Encoding. |
|
|
|
|
|
|
|
|
|
Implements acdk::locale::Encoding. |
|
Implements acdk::locale::Encoding. |
|
return the maximum count of bytes use to encode one character
Implements acdk::locale::Encoding. |
|
|