Skip to content

Commit 5475bda

Browse files
jensmaurertkoeppe
authored andcommitted
[c.mb.wcs] mbrtoc8 stores code units, not characters
1 parent fbab3f1 commit 5475bda

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/strings.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5785,9 +5785,9 @@
57855785
(which is the value stored).
57865786
\item between \tcode{1} and \tcode{n} (inclusive),
57875787
if the next n or fewer bytes complete a valid multibyte character
5788-
(which is the value stored);
5788+
(whose first (or only) code unit is stored);
57895789
the value returned is the number of bytes that complete the multibyte character.
5790-
\item \tcode{(size_t)(-3)}, if the next character
5790+
\item \tcode{(size_t)(-3)}, if the next code unit
57915791
resulting from a previous call has been stored
57925792
(no bytes from the input have been consumed by this call).
57935793
\item \tcode{(size_t)(-2)}, if the next \tcode{n} bytes

0 commit comments

Comments
 (0)