Skip to content

Why do control characters disappear? #163

Answered by chrisdone
chris-martin asked this question in Q&A
Discussion options

You must be logged in to vote

Consulting ChatGPT and an HTML3 spec say that control characters are to be avoided due to having no visible representation and parsing issues. Presumably the blaze-builder which lucid is based on made the choice to filter them out. Not a bad choice, think. I believe even ampersand encoding would be considered sketchy due to having no visible representation. Quote from spec:

In SGML applications, the use of control characters is limited in order to maximize the chance of sucessful interchange over heterogenous networks and operating systems. In HTML, there are only three control characters which are used. The remaining 55 control characters are shunned and should not appear in an HTML doc…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@chris-martin
Comment options

Answer selected by chris-martin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants