Files
handleaiuinew/env/3DAI/include/zxing/Utf.h
T
2024-05-18 23:53:26 +08:00

23 lines
461 B
C++

/*
* Copyright 2022 Axel Waggershauser
*/
// SPDX-License-Identifier: Apache-2.0
#pragma once
#include <string>
#include <string_view>
namespace ZXing {
std::string ToUtf8(std::wstring_view str);
std::wstring FromUtf8(std::string_view utf8);
#if __cplusplus > 201703L
std::wstring FromUtf8(std::u8string_view utf8);
#endif
std::wstring EscapeNonGraphical(std::wstring_view str);
std::string EscapeNonGraphical(std::string_view utf8);
} // namespace ZXing