Link to home
Start Free TrialLog in
Avatar of Justin Malone
Justin Malone

asked on

No Character Encoding Found! Falling back to UTF-8.

http://validator.w3.org came back and told me that i have no character encoding on my web page. how do i fix this useing Dreamweaver MX?
this is the help information at w3.org

The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
ASKER CERTIFIED SOLUTION
Avatar of huji
huji
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You are trying to validate code generated by Dreamweaver?  That should be fun.

For the encoding you are probably missing:

   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

In the head.

There is no point to trying to go beyond that code generates produce a certain amount of non-standard garbage.  If you want to produce code that will validate.  Get rid of the toys and use a text editor to write the code yourself.

Cd&

Also please send the line of code reported as trouble making by the validator, here to me, if the above instructions didn't help you.
Huji
Sorry huji.  Yours was not there yet when I posted.

Cd&
No problem Cd&. And another thing, this is my opinion: Dreamweaver is not that bad. Of course Hard Coding may be a good option for people who are accustomed with it, but not for every body; and on the other hand, one can generate codes made by Dreamweaver, which follow HTML 4.0 transitional standards and pass the W3C validation tests.
Need an example? I made http://ssrc.tums.ac.ir all in Dw. and it passes that validation thing. (The only thing that does not pass is the CSS validation test, becuase I decided to use some scroll bar effects, which are not in CSS standards.)
Huji
Ooops that does not look quite right.

squallkill99,

Are you sure you accept th ecomment you intended to. I think what I supplied duplicated huji, and when two experts give the same information, the question should be awarded to the first one who posted it.

If you made a mistake I can correct it for you.

Cd&
Avatar of Justin Malone
Justin Malone

ASKER

yea i acadentley accepted the wrong one
this was the first question i had ever posted here
and to tell you the truth i used the first one more than the second.
if there is a way to fix it i will do so