Skip to content

Commit f6102d0

Browse files
jensmaurerzygoloid
authored andcommitted
LWG3094 [time.duration.io]p4 makes surprising claims about encoding
1 parent 65f8389 commit f6102d0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

source/utilities.tex

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19528,9 +19528,10 @@
1952819528
which are converted to arrays of \tcode{charT} using a decimal conversion with no leading zeroes.
1952919529

1953019530
\pnum
19531-
For streams where \tcode{charT} has an 8-bit representation,
19532-
\tcode{"\textmu{}s"} should be encoded as UTF-8. Otherwise UTF-16 or UTF-32 is encouraged.
19533-
The implementation may substitute other encodings, including \tcode{"us"}.
19531+
If \tcode{Period::type} is \tcode{micro},
19532+
but the character U+00B5 cannot be represented in
19533+
the encoding used for \tcode{charT},
19534+
the unit suffix \tcode{"us"} is used instead of \tcode{"\textmu{}s"}.
1953419535

1953519536
\pnum
1953619537
\returns \tcode{os}.

0 commit comments

Comments
 (0)