lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


>>>>> "Roberto" == Roberto Ierusalimschy <roberto@inf.puc-rio.br> 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.

 Roberto> Why is rejecting surrogates a backwards step?

Rejecting surrogates is a forward step, that's not the problem.

Accepting values over 10FFFF is the backward step.

-- 
Andrew.