Settings

The page will reload to apply your changes.
Theme

ASCII Art Font

ASCII Art Menu

Original Usenet message from alt.ascii-art, 8 Nov 1999.
Re: Warning -- ASCII art and Netscape Messenger 5.0

Re: Warning -- ASCII art and Netscape Messenger 5.0

On Mon, 08 Nov 1999 07:46:35 +0100, Ben Bucksch (new...@bucksch.org) wrote:
: I will step into this. We still have no good rule to detect ASCII-art,
: that doesn't sound like "60% of ...". Can somebody give me a good *and*
: simple (easy to remember and figure out with just using the software)
: rule? It should catch ASCII-tables, but shouldn't trigger, if not
: appropriate.

Marking a paragraph as preformatted text if it contains more than two
(or maybe three) consecutive spaces sounds like a good idea. You may
wish to handle indentation separately, though.


You really don't want to try detecting ASCII art specifically, but
rather preformatted text in general. This would include anything from
source code to justified text. In HTML, all these are better placed
in <PRE> than in ordinary <P> blocks.

What's important is that this should be the *default* rendering mode
for anything that appears preformatted - if you have specialized ways
to render, say, justified or indented text, then they should override
the default. Remember that preformatted text is the only format that
can *never* break *any* possible content.

Actually, I think giving the user a choice to view everything as
preformatted text (with automatic links and such still applied) would
be a very useful feature. I know I'd use it.


That said, I think another way to detect ASCII art would be to look
for some number (4?) of consecutive (possibly separated by spaces),
different (so you'd catch /{&%=]\# but not ?!?!?!?) punctuation
characters. That'd be particularly useful in detecting those pictures
that have few if any spaces in them.

-- 
Ilmari Karonen
http://www.sci.fi/~iltzu/

Original message headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f996b,a634ddb4f5113d2a
X-Google-Attributes: gidf996b,public
From: Ilmari Karonen <use...@itz.pp.sci.fi>
Subject: Re: Warning -- ASCII art and Netscape Messenger 5.0
Date: 1999/11/08
Message-ID: <8064rb$jpt$1...@tron.sci.fi>#1/1
X-Deja-AN: 545836723
Distribution: world
References: <382...@student.canterbury.ac.nz> <382...@bucksch.org>
Organization: (dis)Order of the Holy Spoon (or whatever)
User-Agent: postit.pl 0.03
Newsgroups: alt.ascii-art
About this message. This message was posted publicly to the newsgroup alt.ascii-art in 1999 and is mirrored here unchanged as part of the Historic Archives – only email addresses are masked. The artwork and text belong to their original authors: if you copy a piece, keep the artist's initials or signature intact and credit them where you can. Are you the author? Contact us to get your posts attributed, connected to your artist profile, or removed.

Report this message

Help us keep the archive clean and accurate. Reports are reviewed by a person – nothing is changed automatically.

Help classify this post