[depr.locale.category]

# Annex D (normative) Compatibility features [[depr]](./#depr)

## D.19 Deprecated locale category facets [depr.locale.category]

[1](#1)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/future.tex#L709)

The ctype locale category includes the following facets
as if they were specified
in Table [91](locale.category#tab:locale.category.facets "Table 91: Locale category facets") of [[locale.category]](locale.category "28.3.3.1.2.1 Type locale​::​category")[.](#1.sentence-1)

codecvt<char16_t, char, mbstate_t> codecvt<char32_t, char, mbstate_t> codecvt<char16_t, char8_t, mbstate_t> codecvt<char32_t, char8_t, mbstate_t>

[2](#2)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/future.tex#L721)

The ctype locale category includes the following facets
as if they were specified
in Table [92](locale.category#tab:locale.spec "Table 92: Required specializations") of [[locale.category]](locale.category "28.3.3.1.2.1 Type locale​::​category")[.](#2.sentence-1)

codecvt_byname<char16_t, char, mbstate_t> codecvt_byname<char32_t, char, mbstate_t> codecvt_byname<char16_t, char8_t, mbstate_t> codecvt_byname<char32_t, char8_t, mbstate_t>

[3](#3)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/future.tex#L733)

The following class template specializations are required
in addition to those specified in [[locale.codecvt]](locale.codecvt "28.3.4.2.5 Class template codecvt")[.](#3.sentence-1)

The specializations codecvt<char16_t, char, mbstate_t> andcodecvt<char16_t, char8_t, mbstate_t> convert between the UTF-16 and UTF-8 encoding forms, andthe specializations codecvt<char32_t, char, mbstate_t> andcodecvt<char32_t, char8_t, mbstate_t> convert between the UTF-32 and UTF-8 encoding forms[.](#3.sentence-2)
