develooper Front page | perl.perl5.porters | Postings from July 2014

Re: RFC: Making -B and -T work better on 8-bit encodings

Thread Previous | Thread Next
David Cantrell
July 1, 2014 12:25
Re: RFC: Making -B and -T work better on 8-bit encodings
Message ID:
On Fri, May 02, 2014 at 02:28:48PM -0600, Karl Williamson wrote:

> I also think that Vertical Tab and Form Feed are so infrequent that they      
> should be counted as non-text (currently VT is non-text, but FF is)           

Consistency is good, and while FF is rare, it's nothing like *as* rare
as VT. I know that I have some documents that contain it, because I
remember deliberately putting them there, but I've only ever seen VT in
deliberately pathological test cases.

So I vote for FF being treated as text.

>                                                      ESC currently is       
> considered text, and my patch retains that, as it is relatively commonly      
> used in rich text files.

RTF isn't really plain ASCII text so I think that's a bad argument. ESC
isn't printable so I'd love to see it considered to be un-text. However,
I think that I'd again go with consistency and so hold my nose and treat
it as text - unless it becomes un-text everywhere else.

David Cantrell | Pope | First Church of the Symmetrical Internet

    fdisk format reinstall, doo-dah, doo-dah;
        fdisk format reinstall, it's the Windows way

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About