Stéphane Brunet wrote:

Derrick Hudson wrote:

On Sun, Jun 12, 2005 at 08:20:36PM -0400, Stéphane Brunet wrote:
[... (read the thread if you want all the background info) ...]

| What is the "raison d'être" of ASCIIWidget v.s. BytesWidget if they | expect the same type of input (plain ASCII text) and store it the same | type of fields?

My interpretation is this:  BytesWidget will accept any byte in the
range 0x00 - 0xFF whereas the ASCIIWidget is intended to only accept
bytes in the range 0x20 - 0x7E and 0x09.  In other words I expect that
the ASCIIWidget will accept only printable characters from the ASCII
character set (IOW "text") but the BytesWidget will accept a sequence
of any arbitrary 8-bit value.

That's what I thought... However, Bytes(Area)Widgets only accept ASCII input, even if the Bytes widget accepts any bytes in the 0-255 range.

Small correction: read ... even if the Bytes _field_ accepts any bytes in the 0-255 range.


Zope3-dev mailing list

Reply via email to