From: John Cowan (email@example.com)
Date: Mon Nov 15 2004 - 00:05:00 CST
Doug Ewell scripsit:
> As soon as you can think of one, let me know. I can think of plenty of
> *binary* protocols that require zero bytes, but no *text* protocols.
Most languages other than C define a string as a sequence of characters
rather than a sequence of non-null characters. The repertoire of characters
than can exist in strings usually has a lower bound, but its full magnitude
is implementation-specific. In Java, exceptionally, the repertoire is
defined by the standard rather than the implementation, and it includes
U+0000. In any case, I can think of no language other than C which does
not support strings containing U+0000 in most implementations.
-- John Cowan <firstname.lastname@example.org> http://www.reutershealth.com "But no living man am I! You look upon a woman. Eowyn I am, Eomund's daughter. You stand between me and my lord and kin. Begone, if you be not deathless. For living or dark undead, I will smite you if you touch him."
This archive was generated by hypermail 2.1.5 : Mon Nov 15 2004 - 00:07:01 CST