473,411 Members | 2,068 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,411 software developers and data experts.

REVISED question: history of dash character support

How far back in their version history did Netscape and Internet Explorer
support — and – codes for em and en dashes in text? In ALT
attributes? In TITLE tags?

I notice that Netscape 4.7 and 6 and IE 6 all display these correctly as
dashes even when the charset is specified as ISO-8859-1. Is that supposed to
happen?

--
Harlan Messinger
Remove the first dot from my e-mail address.
Veuillez ôter le premier point de mon adresse de courriel.

Jul 20 '05 #1
7 2756
"Harlan Messinger" <h.*********@comcast.net> wrote:
How far back in their version history did Netscape and Internet Explorer
support — and – codes for em and en dashes in text?
Both since version 4.0, IIRC.
In ALT attributes?
Earlier versions of MS Windows (such as 95, 98) used a default system
bitmap font for "pop-ups" that had no dashes.
<http://ppewww.ph.gla.ac.uk/~flavell/charset/browsers-fonts.html#controlpanel>
In TITLE tags?
Depends mostly on the font used for TITLE; see above.
I notice that Netscape 4.7 and 6 and IE 6 all display these correctly as
dashes even when the charset is specified as ISO-8859-1.


Unix Netscapes 4.x display – and — as question mark for
"charset=UTF-8".

--
Top posting.
What's the most irritating thing on Usenet?
Jul 20 '05 #2
"Harlan Messinger" <h.*********@comcast.net> wrote:
Just to be clear--are you saying that – and — *do* work on the
Mac? In the usual browsers?


Of course. Even less problems than in MS Windows or Unices.

--
Top posting.
What's the most irritating thing on Usenet?
Jul 20 '05 #3
In article <bg************@ID-114100.news.uni-berlin.de> in
comp.infosystems.www.authoring.html, Harlan Messinger
<h.*********@comcast.net> wrote:
I notice that Netscape 4.7 and 6 and IE 6 all display these correctly as
dashes even when the charset is specified as ISO-8859-1. Is that supposed to
happen?


The charset specifies the _input_, i.e. the encoding of the page as
passed by the server to your browser, not the _output_, the
character repertoire that can be seen by the end user. The numeric
references are there precisely so that you can show more characters
on the user's screen than your computer supports in a text document.

--
Stan Brown, Oak Road Systems, Cortland County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
validator: http://jigsaw.w3.org/css-validator/
Jul 20 '05 #4

"Stan Brown" <th************@fastmail.fm> wrote in message
news:MP************************@news.odyssey.net.. .
In article <bg************@ID-114100.news.uni-berlin.de> in
comp.infosystems.www.authoring.html, Harlan Messinger
<h.*********@comcast.net> wrote:
I notice that Netscape 4.7 and 6 and IE 6 all display these correctly as
dashes even when the charset is specified as ISO-8859-1. Is that supposed tohappen?


The charset specifies the _input_, i.e. the encoding of the page as
passed by the server to your browser, not the _output_, the
character repertoire that can be seen by the end user. The numeric
references are there precisely so that you can show more characters
on the user's screen than your computer supports in a text document.


Now I got it. Thanks for the explanations. If I understand correctly, that
means that when a charset of ISO-8859-1 is indicated, one is free to type
"é" directly into the HTML document instead of using the entity code
"&eacute;", whereas if the charset is specified as US-ASCII, then one has to
use "&eacute;" (or the numeric equivalent). Is that right?

Jul 20 '05 #5
On Tue, Aug 5, Jukka K. Korpela inscribed on the eternal scroll:
Yes, that's correct. The FAQ is getting a bit dusty (allusions intended),
but it has a fairly nice explanation of this:
http://www.htmlhelp.com/faq/html/bas...l#special-char


True enough. The content, as far as it goes, is still accurate I
think, but the emphasis is hardly appropriate for current usage, is
it?

And the reference to browsers which run on MS-DOS is surely a distinct
rarity nowadays! That Czech MS-DOS browser - Arachne - has I think
long-since sorted out its confusion with DOS character coding; and
running Lynx under DOS must be very much a minority sport, no?

So some of the historical bits could be cleared out, and modern bits
added.

However, the key to this whole area - and I think we've seen that
demonstrated again by this thread (no disrepect intended to the
questioner) - is that there is widespread misunderstanding and lack of
knowledge of the HTML4 (RFC2070) character representation model, and
that seems to be the hardest piece of the puzzle to remedy. With some
folks it's doubly hard, because they are *convinced* that they already
know all the theoretical stuff, when in fact what they "know" is
fundamentally wrong. That's the very hardest kind of case to handle,
in all walks of life ;-}

(If *only* the MIME folks hadn't given us the attribute "charset" to
refer - not to a "character set" as it's understood nowadays - but to
the character *encoding*.)

best regards

--
The CPU had all its registers represented on the front panel by the neon
lights; there were 8 48-bit cache registers neatly aligned - a perfect
way for the kernel to communicate with operators "if everything else fails".
Today we have to count beep signals from the BIOS. - BESM-6 nostalgia page
Jul 20 '05 #6
In article <bg************@ID-114100.news.uni-berlin.de> in
comp.infosystems.www.authoring.html, Harlan Messinger
<h.*********@comcast.net> wrote:
If I understand correctly, that
means that when a charset of ISO-8859-1 is indicated, one is free to type
"é" directly into the HTML document instead of using the entity code
"&eacute;", whereas if the charset is specified as US-ASCII, then one has to
use "&eacute;" (or the numeric equivalent). Is that right?


Right.

However, I still recommend &eacute; or é because that gives you
greater flexibility if you later need to change your claimed
encoding scheme, say to support additional languages. Alan Flavell's
page
http://ppewww.ph.gla.ac.uk/~flavell/...checklist.html
is the usual reference.

--
Stan Brown, Oak Road Systems, Cortland County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
validator: http://jigsaw.w3.org/css-validator/
Jul 20 '05 #7

"Alan J. Flavell" <fl*****@mail.cern.ch> wrote in message
news:Pi*******************************@lxplus078.c ern.ch...

(If *only* the MIME folks hadn't given us the attribute "charset" to
refer - not to a "character set" as it's understood nowadays - but to
the character *encoding*.)


Off-topic, but: Besides the famously misspelled "HTTP_REFERER" header, my
favorite unfortunate misnomer comes with Merant's Collage web content
management system. As you probably know, a book may start with a prolog[ue],
or may end with an epilog[ue]. There's an XML markup tag that can be used in
web pages in Collage that provides for dynamic insertion of formatted
navigation links. Within this tag, two other tags can be inserted that
indicate code to insert before or after the list of links. Somehow, these
tags got named "<prelog>" (a non-existent word) for the code that goes
before, and, sadly, "<prolog>" for the code that goes afterward.

Jul 20 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

20
by: Mike Meyer | last post by:
This version includes the input from various and sundry people. Thanks to everyone who contributed. <mike PEP: XXX Title: A rational number module for Python Version: $Revision: 1.4 $...
7
by: Harlan Messinger | last post by:
How far back in their version history did Netscape and Internet Explorer support — and – codes for em and en dashes in text? In ALT attributes? In TITLE tags? -- Harlan Messinger Remove the...
7
by: Jan Roland Eriksson | last post by:
I'm posting a revised version of the meta FAQ for this NG. Beware that there are a few links in there that does not have a resource available for them yet but, over and all, this following document...
2
by: Neil Schemenauer | last post by:
python-dev@python.org.] The PEP has been rewritten based on a suggestion by Guido to change str() rather than adding a new built-in function. Based on my testing, I believe the idea is...
16
by: Bob | last post by:
Was C really the first language to be platform independent? If yes what was the nature of other languages which were there before C like fortran ,basic,cobol? weren't they platform independent at...
1
by: Sue | last post by:
Hello I'm new to this Regular Expression and need some help. I want to restrict what the user types in a text box. The User can type only A-Z, a-z, 0-9, spaces, comma, dash, period, single...
5
by: Ian Rastall | last post by:
If my site uses the US-ASCII character code, then does it render quicker if declared as UTF-8, ISO-8859-1, or US-ASCII? Does it make a difference? Everything that isn't US-ASCII is represented as...
3
by: Rafael Tejera | last post by:
I would like to create an history module to my application.. I need some advice to use a duplicate database with who, when and where fields added to that new duplicate table, or create a table...
0
by: =?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?= | last post by:
For example, I got that EN DASH out of a web page which states <?xml Please do trust us that ISO-8859-1 does *NOT* support EN DASH. There are two possible explanations for the behavior you...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.