Searched defs:UTF8 (Results 1 – 2 of 2) sorted by relevance
96 struct UTF8 { struct97 typedef CharType Ch;99 enum { supportUnicode = 1 };102 static void Encode(OutputStream& os, unsigned codepoint) { in Encode()124 static bool Decode(InputStream& is, unsigned* codepoint) { in Decode()153 static bool Validate(InputStream& is, OutputStream& os) { in Validate()178 static unsigned char GetRange(unsigned char c) { in GetRange()197 static CharType TakeBOM(InputByteStream& is) { in TakeBOM()210 static Ch Take(InputByteStream& is) { in Take()216 static void PutBOM(OutputByteStream& os) { in PutBOM()[all …]
286 TEST(EncodingsTest, UTF8) { in TEST() argument