Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
utf8.cpp File Reference
#include "fc/utf8.hpp"
#include "utf8/checked.h"
#include "utf8/core.h"
#include <fc/log/logger.hpp>
#include <fc/exception/exception.hpp>
Include dependency graph for utf8.cpp:

Go to the source code of this file.

Namespaces

namespace  fc
 namespace sysio::chain
 

Functions

bool fc::is_utf8 (const std::string &str)
 
template<typename octet_iterator >
std::pair< octet_iterator, uint32_tfc::find_invalid (octet_iterator start, octet_iterator end, const std::pair< uint32_t, uint32_t > &invalid_range)
 
bool fc::is_valid_utf8 (const std::string_view &str)
 
std::string fc::prune_invalid_utf8 (const std::string_view &str)
 
void fc::decodeUtf8 (const std::string &input, std::wstring *storage)
 
void fc::encodeUtf8 (const std::wstring &input, std::string *storage)
 

Variables

constexpr char fc::hex_digits [] = "0123456789abcdef"