Skip to content

Commit d296fe1

Browse files
committed
perlapi: Document UNICODE_REPLACEMENT
1 parent ef2a4c8 commit d296fe1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

utf8.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,7 @@ platforms. FF signals to use 13 bytes for the encoded character. This breaks
275275
the paradigm that the number of leading bits gives how many total bytes there
276276
are in the character.
277277
278+
=cut
278279
*/
279280

280281
/* Is the representation of the Unicode code point 'cp' the same regardless of
@@ -866,6 +867,10 @@ of the Unicode non-character code points; otherwise it evaluates to 0. If
866867
non-zero, the value gives how many bytes starting at C<s> comprise the code
867868
point's representation.
868869
870+
=for apidoc AmnU|UV|UNICODE_REPLACEMENT
871+
872+
Evaluates to 0xFFFD, the code point of the Unicode REPLACEMENT CHARACTER
873+
869874
=cut
870875
*/
871876
#define UTF8_IS_NONCHAR(s, e) \

0 commit comments

Comments
 (0)