Karl Williamson wrote: > 1) It didn't catch string evals. > 2) UTF8ness can change in mid chunk, after we've examined the chunk. > > The first can readily be handled by doing the same check in the eval > portion of lex_start. Well, ideally any scalar passed to a string eval should have been validated at some point already. That is the point I was trying to make when I suggested using lex_start or some code in its proximity. We should be able to trust our own data structures, without validating the same text over and over again. Am I missing something?Thread Previous | Thread Next