Unicode support functions.  
More...
Go to the source code of this file.
 | 
|    | utf8 | 
|   | Functions for converting Unicode wide-char strings to UTF-8 encoded strings, back and forth. 
  | 
|   | 
 | 
| static int  | utf8::byte_size_from_utf8_first (const unsigned char ch) | 
|   | 
| std::string  | utf8::lowercase (std::string_view s) | 
|   | Returns a lowercased version of the string.  More...
  | 
|   | 
| std::size_t  | utf8::index (std::string_view str, const std::size_t index) | 
|   | Codepoint index corresponding to the nth character in a UTF-8 string.  More...
  | 
|   | 
| std::size_t  | utf8::size (std::string_view str) | 
|   | Length in characters of a UTF-8 string.  More...
  | 
|   | 
| std::size_t  | utf8::size (const std::string::const_iterator &start, const std::string::const_iterator &end) | 
|   | 
| std::string &  | utf8::insert (std::string &str, const std::size_t pos, const std::string &insert) | 
|   | Insert a UTF-8 string at the specified position.  More...
  | 
|   | 
| std::string &  | utf8::erase (std::string &str, const std::size_t start, const std::size_t len=std::string::npos) | 
|   | Erases a portion of a UTF-8 string.  More...
  | 
|   | 
| std::string &  | utf8::truncate (std::string &str, const std::size_t size) | 
|   | Truncates a UTF-8 string to the specified number of characters.  More...
  | 
|   | 
| void  | utf8::truncate_as_ucs4 (std::string &str, const std::size_t size) | 
|   | Truncates a UTF-8 string to the specified number of characters.  More...
  | 
|   | 
Unicode support functions. 
Definition in file unicode.cpp.
 
◆ ERR_GENERAL
◆ log_engine