By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,933 Members | 1,243 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,933 IT Pros & Developers. It's quick & easy.

non SGML Character €?????

P: n/a
Why doesn't the W3C's HTML Validator recognize € and what do I have
to do to make my html-file valid?

Jul 20 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
On Thu, Aug 21, Lars <eb****@fh-worms.de> inscribed on the eternal scroll:
Why doesn't the W3C's HTML Validator recognize &euro;


What's your URL?

Are you offering it a pre-RFC2070 DTD?

Jul 20 '05 #2

P: n/a
On Thu, Aug 21, Alan J. Flavell inscribed on the eternal scroll:
On Thu, Aug 21, Lars <eb****@fh-worms.de> inscribed on the eternal scroll:
Why doesn't the W3C's HTML Validator recognize &euro;


What's your URL?


Referring to the URL which you sent me per email[1]:

Why did you claim that it said "non SGML Character &euro;" ?

The W3C's HTML validator reports to me that it said:

"non SGML character number 128"

That's a very different report, and indicates that you're sending
a document which is in Windows-1252 rather than iso-8859-1 coding, but
without saying so.

Don't do that - Windows-1252 is a vendor-defined encoding. Send it
in ampersand-notation as &euro; instead, and describe it honestly as
iso-8859-1.

It also reported "non SGML character number 150".

My general advice for this area would be that at
http://ppewww.ph.gla.ac.uk/~flavell/charset/checklist

good luck

[1] I really would prefer to keep discussions in the usenet groups,
except where an issue arises that's unlikely to be of general
interest.
Jul 20 '05 #3

P: n/a
Referring to the URL which you sent me per email[1]:
I'm sorry about that, it's just the 1st time I actually write in a
newsgroup, my fault, won't happen again.
the URL for all to see is
http://www.fh-worms.de/~ebm269/cl/carreras.html
Why did you claim that it said "non SGML Character &euro;" ?

The W3C's HTML validator reports to me that it said:

"non SGML character number 128"

That's a very different report, and indicates that you're sending
a document which is in Windows-1252 rather than iso-8859-1 coding, but
without saying so.
My fault again, it is true, the validator really says
"non SGML character number 128"
and not
"non SGML character &euro;"
Don't do that - Windows-1252 is a vendor-defined encoding. Send it
in ampersand-notation as &euro; instead, and describe it honestly as
iso-8859-1.
I've got this line written in the head-section of the html-file:
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
but the error still there?!
It also reported "non SGML character number 150".
That was because I type a minus(-) but now I replaced it with
&mdash; and that error does no longer show up...
My general advice for this area would be that at
http://ppewww.ph.gla.ac.uk/~flavell/charset/checklist

good luck


Thank you, sorry again for eMailing you.

Jul 20 '05 #4

P: n/a
us**@domain.invalid wrote:
Don't do that - Windows-1252 is a vendor-defined encoding. Send
it in ampersand-notation as &euro; instead, and describe it
honestly as iso-8859-1.


I've got this line written in the head-section of the html-file:
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1"> but the error still there?!


That's because you didn't apply the first (and pragmatically more
important) part of the advice. You still have data that is undefined,
instead of the entity reference &euro;.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html

Jul 20 '05 #5

P: n/a
Jukka K. Korpela wrote:
us**@domain.invalid wrote:

Don't do that - Windows-1252 is a vendor-defined encoding. Send
it in ampersand-notation as &euro; instead, and describe it
honestly as iso-8859-1.


I've got this line written in the head-section of the html-file:
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1"> but the error still there?!

That's because you didn't apply the first (and pragmatically more
important) part of the advice. You still have data that is undefined,
instead of the entity reference &euro;.

I'm really going nuts here. I change all the s into &euro; and around
those &euro; is nothing special in the source code!
I upload it with PS-FTP and when I open the page from the internet
*tada* the darn source code has changed back to the -symbols...
I know thats NOT possible
I guess there's somewhere some sort of cache I have to flush before I
can finally see the results I want to see.

Thank you for all the advice! It might not yet look that way, but I
think I've already learned a lot. Thanx!!

Jul 20 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.