You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2021/01/25 18:43:41 UTC

[GitHub] [druid] gianm commented on pull request #10795: Web console: allow encoding of ASCII control chars

gianm commented on pull request #10795:
URL: https://github.com/apache/druid/pull/10795#issuecomment-767030067


   How did you pick this one? Neither JSON nor Java support `\xNN`. Both do support `\uNNNN` (Unicode style). Java additionally supports `\NNN` (octal style).
   
   References:
   
   - https://www.json.org/json-en.html
   - https://docs.oracle.com/javase/specs/jls/se7/html/jls-3.html#jls-3.10.6
   
   IMO matching what JSON does would make the most sense to people, since the underlying API is a JSON one.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org