[
Lists Home |
Date Index |
Thread Index
]
Gavin Thomas Nicol wrote:
> The point is then, why complicate things with control characters for no
> benefit whatsoever?
The benefit is that text which *might* contain control characters,
but usually does not, can be injected into the content of an element
or attribute without having to Base64-encode it out of paranoia.
It is of course possible to Base64-encode only when a control character
actually appears, but then some means (in-band or out) must be used
to signal the presence of B64 encoding (as opposed to eccentric
plain text). Furthermore, this choice complicates the decoder.
--
Not to perambulate || John Cowan <jcowan@reutershealth.com>
the corridors || http://www.reutershealth.com
during the hours of repose || http://www.ccil.org/~cowan
in the boots of ascension. \\ Sign in Austrian ski-resort hotel
|