UTF8

Engine/source/persistence/rapidjson/encodings.h

UTF-8 encoding.

More...

Public Types

enum
_Anonymous_ {  supportUnicode = 1
}
CharType
Ch 

Public Static Functions

bool
Decode(InputStream & is, unsigned * codepoint)
Encode(OutputStream & os, unsigned codepoint)
EncodeUnsafe(OutputStream & os, unsigned codepoint)
unsigned char
GetRange(unsigned char c)
Put(OutputByteStream & os, Ch c)
PutBOM(OutputByteStream & os)
Take(InputByteStream & is)
CharType
TakeBOM(InputByteStream & is)
bool
Validate(InputStream & is, OutputStream & os)

Detailed Description

UTF-8 encoding.

http://en.wikipedia.org/wiki/UTF-8 http://tools.ietf.org/html/rfc3629 Parameters:

CharType

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

note:

implements Encoding concept

Public Types

@123

Enumerator

supportUnicode = 1
typedef CharType Ch 

Public Static Functions

Decode(InputStream & is, unsigned * codepoint)

Encode(OutputStream & os, unsigned codepoint)

EncodeUnsafe(OutputStream & os, unsigned codepoint)

GetRange(unsigned char c)

Put(OutputByteStream & os, Ch c)

PutBOM(OutputByteStream & os)

Take(InputByteStream & is)

TakeBOM(InputByteStream & is)

Validate(InputStream & is, OutputStream & os)