git: UTF-8: change upper limit from 0x1FFFFF to 0x10FFFF

John Marino marino at crater.dragonflybsd.org
Sat Aug 8 17:18:08 PDT 2015


commit 6c455f217ffe428181a839ff6bedcbfc3589215c
Author: John Marino <draco at marino.st>
Date:   Sun Aug 9 02:12:35 2015 +0200

    UTF-8: change upper limit from 0x1FFFFF to 0x10FFFF
    
    In November 2003, RFC 3629 changed the upper bound from 0x7FFFFFFF (up to
    6 bytes) to 0x10FFFF in order to match the constraints of UTF-16 encoding.
    Last week, 5- and 6- bytes were considered illegal, now we also mark
    a large portion of 4-byte sequences as illegal as well.

Summary of changes:
 lib/libc/locale/utf8.c | 23 +----------------------
 1 file changed, 1 insertion(+), 22 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6c455f217ffe428181a839ff6bedcbfc3589215c


-- 
DragonFly BSD source repository



More information about the Commits mailing list