From Jason Turner

[depr.locale.stdcvt.req]

Diff to HTML by rtfpessoa

tmp/tmpu7wp3w8b/{from.md → to.md} RENAMED
@@ -18,21 +18,21 @@ For each of the three code conversion facets `codecvt_utf8`,
18
  sequence in little-endian order, as opposed to the default big-endian
19
  order.
20
 
21
  For the facet `codecvt_utf8`:
22
 
23
- - The facet shall convert between UTF-8 multibyte sequences and UCS2 or
24
- UCS4 (depending on the size of `Elem`) within the program.
25
  - Endianness shall not affect how multibyte sequences are read or
26
  written.
27
  - The multibyte sequences may be written as either a text or a binary
28
  file.
29
 
30
  For the facet `codecvt_utf16`:
31
 
32
- - The facet shall convert between UTF-16 multibyte sequences and UCS2 or
33
- UCS4 (depending on the size of `Elem`) within the program.
34
  - Multibyte sequences shall be read or written according to the `Mode`
35
  flag, as set out above.
36
  - The multibyte sequences may be written only as a binary file.
37
  Attempting to write to a text file produces undefined behavior.
38
 
@@ -43,7 +43,8 @@ For the facet `codecvt_utf8_utf16`:
43
  - Endianness shall not affect how multibyte sequences are read or
44
  written.
45
  - The multibyte sequences may be written as either a text or a binary
46
  file.
47
 
48
- ISO/IEC 10646-1:1993.
 
49
 
 
18
  sequence in little-endian order, as opposed to the default big-endian
19
  order.
20
 
21
  For the facet `codecvt_utf8`:
22
 
23
+ - The facet shall convert between UTF-8 multibyte sequences and UCS-2 or
24
+ UTF-32 (depending on the size of `Elem`) within the program.
25
  - Endianness shall not affect how multibyte sequences are read or
26
  written.
27
  - The multibyte sequences may be written as either a text or a binary
28
  file.
29
 
30
  For the facet `codecvt_utf16`:
31
 
32
+ - The facet shall convert between UTF-16 multibyte sequences and UCS-2
33
+ or UTF-32 (depending on the size of `Elem`) within the program.
34
  - Multibyte sequences shall be read or written according to the `Mode`
35
  flag, as set out above.
36
  - The multibyte sequences may be written only as a binary file.
37
  Attempting to write to a text file produces undefined behavior.
38
 
 
43
  - Endianness shall not affect how multibyte sequences are read or
44
  written.
45
  - The multibyte sequences may be written as either a text or a binary
46
  file.
47
 
48
+ The encoding forms UTF-8, UTF-16, and UTF-32 are specified in ISO/IEC
49
+ 10646. The encoding form UCS-2 is specified in ISO/IEC 10646-1:1993.
50