|
-
Aug 1st, 2004, 10:58 PM
#1
Thread Starter
Hyperactive Member
setting character encoding in HTML
I was trying to validate some HTML I was writing by hand with http://validator.w3c.org by uploading the file from my hard drive. But I keep getting this message:
quote:
No Character Encoding Found! Falling back to UTF-8.
...SNIP...
The uploaded file was tentatively found to be Valid. That means it would validate as HTML 4.0 Transitional if you updated the source document to match the options used (typically this message indicates that you used either the Document Type override or the Character Encoding override).
and no matter what I try I can't seem to get it validated and searches have not turned out too helpful. My html header looks like
quote:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<title>The Title!</title>
<META HTTP-EQUIV="HTML" CONTENT="text/html; charset=iso-8859-1">
</head>
The page will be in Polish which uses non-english characters (but it still latin based; it is not Cyrillic) so it seems that either UTF-8 or iso-8859-1 should be good candidates.
"There are only two things that are infinite. The universe and human stupidity... and the universe I'm not sure about." - Einstein
If you are programming in Java use www.NetBeans.org
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|