Re: Change 15762: As noted by Philip Newton: nothing wrong with BOM,
Philip Newton [Sun, 7 Apr 2002 07:51:49 +0000 (09:51 +0200)]
Message-ID: <1dnvau4j684hke2igk990f01nit8r2811s@4ax.com>

p4raw-id: //depot/perl@15777

utf8.c

diff --git a/utf8.c b/utf8.c
index 9f2c4fb..1b13809 100644 (file)
--- a/utf8.c
+++ b/utf8.c
@@ -67,7 +67,7 @@ Perl_uvuni_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags)
                   ((uv & 0xFFFE) == 0xFFFE && /* Either FFFE or FFFF. */
                    !(flags & UNICODE_ALLOW_FFFF))) &&
                  /* UNICODE_ALLOW_SUPER includes
-                  * FFFFs beyond 0x10FFFF. */
+                  * FFFEs and FFFFs beyond 0x10FFFF. */
                  ((uv <= PERL_UNICODE_MAX) ||
                   !(flags & UNICODE_ALLOW_SUPER))
                  )