Re: Changes in the validation of UTF-8
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Changes in the validation of UTF-8
 
- From: Andrew Gierth <andrew@...>
 
- Date: 2019年3月17日 07:03:09 +0000
 
>>>>> "Dirk" == Dirk Laurie <dirk.laurie@gmail.com> writes:
 >> I noticed the new commit that adds support for longer (deprecated in
 >> 2003) utf8 sequences:
 >> https://github.com/lua/lua/commit/1e0c73d5b643707335b06abd2546a83d9439d14c
 >> 
 >> I'm curious why this changed? It seems like a backwards step to me.
 Dirk> It seems to be in line with Lua's philosophy of providing
 Dirk> capability, not policy.
When you're validating against an externally defined interchange
standard, then accepting data that the actual standard explicitly
rejects IS a lack of capability.
-- 
Andrew.