Difference between revisions of "cpp/locale/codecvt mode"
From cppreference.com
m (Text replace - "{{cpp|" to "{{c|") |
m (Text replace - "{{tdcl list begin" to "{{dcl list begin") |
||
Line 13: | Line 13: | ||
===Constants=== | ===Constants=== | ||
− | {{ | + | {{dcl list begin}} |
{{tdcl list header | locale}} | {{tdcl list header | locale}} | ||
{{tdcl list hitem | Value | Meaning }} | {{tdcl list hitem | Value | Meaning }} | ||
Line 22: | Line 22: | ||
The recognized byte order marks are: | The recognized byte order marks are: | ||
− | {{ | + | {{dcl list begin}} |
{{tdcl list item | {{tt|0xfe 0xff}} | UTF-16 big-endian }} | {{tdcl list item | {{tt|0xfe 0xff}} | UTF-16 big-endian }} | ||
{{tdcl list item | {{tt|0xff 0xfe}} | UTF-16 little-endian }} | {{tdcl list item | {{tt|0xff 0xfe}} | UTF-16 little-endian }} |
Revision as of 01:15, 12 June 2012
Defined in header <locale>
|
||
enum codecvt_mode { consume_header = 4, |
||
The facets std::codecvt_utf8, std::codecvt_utf16, and std::codecvt_utf8_utf16 accept an optional value of type std::codecvt_mode as a template argument, which specifies optional features of the unicode string conversion.