Ring Daemon 16.0.0
Loading...
Searching...
No Matches
utf8_utils.h File Reference
Include dependency graph for utf8_utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  jami
 

Functions

bool jami::utf8_validate (std::string_view str)
 utf8_validate:
 
: a pointer to a nul delimited string.

utf8_make_valid:

Transforms a unknown c_string into a pretty utf8 encoded std::string. Every unreadable or invalid byte will be transformed into U+FFFD (REPLACEMENT CHARACTER).

Returns: a valid utf8 string.

std::string jami::utf8_make_valid (std::string_view name)