Re: RFC 258 (v1) Distinguish packed binary data from printablestrings

2000-09-19 Thread Andy Dougherty
Perl should be able to distinguish between printable strings and packed binary data stored as strings (presumed to not be printable text) All strings are "printable" in perl, since print just calls fwrite(). I can and do use perl to "print" binary data. print $a is perfectly fine even if $a

Re: RFC 258 (v1) Distinguish packed binary data from printablestrings

2000-09-19 Thread Tim Conrow
Sam Tregar wrote: On 19 Sep 2000, Perl6 RFC Librarian wrote: Distinguish packed binary data from printable strings What defines a "printable" string? What if I'm working in an environment that can "print" bytes that yours can't? Usage DWIMishly defines a printable string. As I noted

Re: RFC 258 (v1) Distinguish packed binary data from printablestrings

2000-09-19 Thread Tim Conrow
Andy Dougherty wrote: Perl should be able to distinguish between printable strings and packed binary data stored as strings (presumed to not be printable text) All strings are "printable" in perl, since print just calls fwrite(). I can and do use perl to "print" binary data. print $a

Re: RFC 258 (v1) Distinguish packed binary data from printablestrings

2000-09-19 Thread Sam Tregar
On 19 Sep 2000, Perl6 RFC Librarian wrote: Distinguish packed binary data from printable strings What defines a "printable" string? What if I'm working in an environment that can "print" bytes that yours can't? Specifically I'm wondering how this proposal handles Unicode. -sam