Page Speed Optimization Libraries
1.3.25.1
|
#include "net/instaweb/util/public/string_util.h"
Go to the source code of this file.
Namespaces | |
namespace | net_instaweb |
for StringPiece | |
Functions | |
bool | net_instaweb::StripUtf8Bom (StringPiece *contents) |
const StringPiece | net_instaweb::GetCharsetForBom (const StringPiece contents) |
Variables | |
const char | net_instaweb::kUtf8Charset [] = "utf-8" |
The charsets we understand. Currently only those that have BOMs below. | |
const char | net_instaweb::kUtf16BigEndianCharset [] = "utf-16be" |
const char | net_instaweb::kUtf16LittleEndianCharset [] = "utf-16le" |
const char | net_instaweb::kUtf32BigEndianCharset [] = "utf-32be" |
const char | net_instaweb::kUtf32LittleEndianCharset [] = "utf-32le" |
const char | net_instaweb::kUtf8Bom [] = "\xEF\xBB\xBF" |
The Byte-Order-Mark (BOM) for the various UTF encodings. | |
const char | net_instaweb::kUtf16BigEndianBom [] = "\xFE\xFF" |
const char | net_instaweb::kUtf16LittleEndianBom [] = "\xFF\xFE" |
const char | net_instaweb::kUtf32BigEndianBom [] = "\x00\x00\xFE\xFF" |
const char | net_instaweb::kUtf32LittleEndianBom [] = "\xFF\xFE\x00\x00" |