Escapes a src string using C-style escape sequences, escaping bytes as hexadecimal sequences, and passing through UTF-8 characters without conversion.
Declared in <absl/strings/escaping.h>
std::string
Utf8SafeCHexEscape(std::string_view src);
The escaped string.
| Name | Description |
|---|---|
| src | The string to escape. |