Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 902 Bytes

codecvt-utf8-class.md

File metadata and controls

37 lines (26 loc) · 902 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: codecvt_utf8
codecvt_utf8
11/04/2016
codecvt/std::codecvt_utf8
codecvt_utf8 class
2a87478f-e2d4-4b8d-ad9c-00add01d1bb0

codecvt_utf8

Represents a locale facet that converts between wide characters encoded as UCS-2 or UCS-4, and a byte stream encoded as UTF-8.

template<class Elem, unsigned long Maxcode = 0x10ffff, codecvt_mode Mode = (codecvt_mode)0>
class codecvt_utf8 : public std::codecvt<Elem, char, StateType>

Parameters

Elem
The wide-character element type.

Maxcode
The maximum number of characters for the locale facet.

Mode
Configuration information for the locale facet.

Remarks

The byte stream can be written to either a binary file or a text file.

Requirements

Header: <codecvt>

Namespace: std