Entropic 2.11.1
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
59#pragma once
60
62
63#include <string>
64#include <string_view>
65
66namespace entropic::mcp {
67
94ENTROPIC_EXPORT std::string sanitize_utf8(std::string_view input);
95
96} // 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.