template <typename CharType = char>

struct UTF8

Defined at line 96 of file ../../third_party/rapidjson/include/rapidjson/encodings.h

UTF-8 encoding.

http://en.wikipedia.org/wiki/UTF-8

http://tools.ietf.org/html/rfc3629

Template Parameters

CharType Code unit for storing 8-bit UTF-8 data. Default is char.

Public Methods

template <typename OutputStream>
void Encode (OutputStream & os, unsigned int codepoint)

Defined at line 102 of file ../../third_party/rapidjson/include/rapidjson/encodings.h

template <typename OutputStream>
void EncodeUnsafe (OutputStream & os, unsigned int codepoint)

Defined at line 124 of file ../../third_party/rapidjson/include/rapidjson/encodings.h

template <typename InputStream>
bool Decode (InputStream & is, unsigned int * codepoint)

Defined at line 146 of file ../../third_party/rapidjson/include/rapidjson/encodings.h

template <typename InputStream, typename OutputStream>
bool Validate (InputStream & is, OutputStream & os)

Defined at line 179 of file ../../third_party/rapidjson/include/rapidjson/encodings.h

unsigned char GetRange (unsigned char c)

Defined at line 204 of file ../../third_party/rapidjson/include/rapidjson/encodings.h

template <typename InputByteStream>
CharType TakeBOM (InputByteStream & is)

Defined at line 223 of file ../../third_party/rapidjson/include/rapidjson/encodings.h

template <typename InputByteStream>
Ch Take (InputByteStream & is)

Defined at line 236 of file ../../third_party/rapidjson/include/rapidjson/encodings.h

template <typename OutputByteStream>
void PutBOM (OutputByteStream & os)

Defined at line 242 of file ../../third_party/rapidjson/include/rapidjson/encodings.h

template <typename OutputByteStream>
void Put (OutputByteStream & os, Ch c)

Defined at line 250 of file ../../third_party/rapidjson/include/rapidjson/encodings.h

Enumerations

enum 
Name Value
supportUnicode 1

Defined at line 99 of file ../../third_party/rapidjson/include/rapidjson/encodings.h