uschindler commented on issue #12931: URL: https://github.com/apache/lucene/issues/12931#issuecomment-1853371617
> > Wouldn't it be better if they were explicitly (\uxxxx) encoded though? Especially those invisible ones, which can be really annoying since you can't see them... > > But how in the world are you supposed to read such text? Your PR only fixed the identifiers. I am solely talking about Java files. If you need a text string to pass to an analyzer that splits on whitespace whatever, why can't we forbid invisible code points. Just use a escaped text string. I am not talking about resource files. Just java code. And there I would like to enforce all string declarations with such characters to use Unicode escapes. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org