Entropic 2.3.8
Local-first agentic inference engine
Loading...
Searching...
No Matches
utf8_sanitize.h
Go to the documentation of this file.
1// SPDX-License-Identifier: Apache-2.0
42#pragma once
43
45
46#include <string>
47#include <string_view>
48
49namespace entropic::mcp {
50
77ENTROPIC_EXPORT std::string sanitize_utf8(std::string_view input);
78
79} // namespace entropic::mcp
Symbol visibility macro for all exported symbols.
ENTROPIC_EXPORT std::string sanitize_utf8(std::string_view input)
Replace invalid UTF-8 byte sequences with U+FFFD.