OpenSiv3D  v0.6.5
C++20 framework for creative coding
Unicode.hpp File Reference
#include <string>
#include "Utility.hpp"
#include "detail/Unicode.ipp"

Namespaces

 s3d
 
 s3d::Unicode
 文字列のエンコードの変換
 

Functions

String s3d::Unicode::WidenAscii (std::string_view asciiText)
 ASCII 文字列を String に変換します。 More...
 
String s3d::Unicode::Widen (std::string_view s)
 文字列を String に変換します。 More...
 
String s3d::Unicode::FromWstring (std::wstring_view s)
 ワイド文字列を String に変換します。 More...
 
String s3d::Unicode::FromUTF8 (std::string_view s)
 UTF-8 文字列を String に変換します。 More...
 
String s3d::Unicode::FromUTF16 (std::u16string_view s)
 UTF-16 文字列を String に変換します。 More...
 
String s3d::Unicode::FromUTF32 (std::u32string_view s)
 UTF-32 文字列を String に変換します。 More...
 
std::string s3d::Unicode::NarrowAscii (StringView asciiText)
 ASCII 文字列を std::string に変換します。 More...
 
std::string s3d::Unicode::Narrow (StringView s)
 String を std::string に変換します。 More...
 
std::wstring s3d::Unicode::ToWstring (StringView s)
 String を std::wstring に変換します。 More...
 
std::string s3d::Unicode::ToUTF8 (StringView s)
 String を UTF-8 文字列に変換します。 More...
 
std::u16string s3d::Unicode::ToUTF16 (StringView s)
 String を UTF-16 文字列に変換します。 More...
 
std::u32string s3d::Unicode::ToUTF32 (StringView s)
 String を UTF-32 文字列に変換します。 More...
 
std::u16string s3d::Unicode::UTF8ToUTF16 (std::string_view s)
 UTF-8 文字列を UTF-16 文字列に変換します。 More...
 
std::u32string s3d::Unicode::UTF8ToUTF32 (std::string_view s)
 UTF-8 文字列を UTF-32 文字列に変換します。 More...
 
std::string s3d::Unicode::UTF16ToUTF8 (std::u16string_view s)
 UTF-16 文字列を UTF-8 文字列に変換します。 More...
 
std::u32string s3d::Unicode::UTF16ToUTF32 (std::u16string_view s)
 UTF-16 文字列を UTF-32 文字列に変換します。 More...
 
std::string s3d::Unicode::UTF32ToUTF8 (std::u32string_view s)
 UTF-32 文字列を UTF-8 文字列に変換します。 More...
 
std::u16string s3d::Unicode::UTF32ToUTF16 (std::u32string_view s)
 UTF-32 文字列を UTF-16 文字列に変換します。 More...
 
constexpr bool s3d::Unicode::IsHighSurrogate (const char16 ch) noexcept
 上位サロゲートであるかを返します More...
 
constexpr bool s3d::Unicode::IsLowSurrogate (const char16 ch) noexcept
 下位サロゲートであるかを返します More...