Cbeam
Loading...
Searching...
No Matches
utf8.hpp File Reference
#include <cstddef>
#include <string>
Include dependency graph for utf8.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  cbeam
 The root namespace for the Cbeam library. This namespace unifies cross-platform utilities for concurrency, memory management, file handling, logging, serialization, and more. Its purpose is to provide a cohesive collection of modern C++ components that address common system-level and application-level tasks, while promoting thread-safety, interprocess communication, and stable resource handling across varied platform APIs.
 
namespace  cbeam::encoding
 Focuses on UTF-8 checks, character handling, and encoding-specific validations. It includes lightweight helpers like is_valid_utf8 and has_utf8_specific_encoding, which verify the correctness and properties of strings under UTF-8 constraints.
 

Functions

bool cbeam::encoding::is_valid_utf8 (const std::string &s)
 Returns if the given string conforms with UTF8 encoding.
 
bool cbeam::encoding::has_utf8_specific_encoding (const std::string &s)
 Checks if the given string uses encoding that is specific to UTF-8.