std::locale:: encoding
From cppreference.net
C++
Text processing library
| Localization library | |||||||||||||||||||||||||
| Regular expressions library (C++11) | |||||||||||||||||||||||||
| Formatting library (C++20) | |||||||||||||||||||||||||
| Null-terminated sequence utilities | |||||||||||||||||||||||||
| Byte strings | |||||||||||||||||||||||||
| Multibyte strings | |||||||||||||||||||||||||
| Wide strings | |||||||||||||||||||||||||
| Primitive numeric conversions | |||||||||||||||||||||||||
|
|||||||||||||||||||||||||
| Text encoding identifications | |||||||||||||||||||||||||
|
|||||||||||||||||||||||||
Localization library
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
std::locale
| Member types | ||||
| Member functions | ||||
|
locale::encoding
(C++26)
|
||||
|
(until C++20)
|
||||
| Static member functions | ||||
|
std::
text_encoding
encoding
(
)
const
;
|
||
返回一个 std::text_encoding 对象,该对象表示与区域设置 * this 相关联的实现定义的编码方案。
返回值
一个 std::text_encoding 对象,用于表示关联的编码方案。
示例
|
本节内容不完整
原因:缺少示例 |