473,686 Members | 2,807 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

W3C Validation Problems

http://www.calgarymike.com/content/fsbo.html

After having validated a couple of pages I'm completely stumped as to why I
get this message. I don't have a line counter in my program (Arachnophia)
and have counted manually, but I can't see a thing as to why I'm getting
this message.

Sorry, I am unable to validate this document because on lines 36, 44, 52,
60, 68, 75, 109, 126, 131, 144, 154, 160, 178, 244, 247, 257, 271, 287, 300,
320, 335, 357, 363, 369, 377, 385, 399, 435, 441, 446, 458 it contained one
or more bytes that I cannot interpret as utf-8 (in other words, the bytes
found are not valid values in the specified Character Encoding). Please
check both the content of the file and the character encoding indication.

Any help would be appreciated.
Jul 24 '05 #1
6 6975
Mike wrote:
Any help would be appreciated.


Well, after "without listing it with a real estate agent.�" you have a mad
character, I don't know which. Just remove it, and wow, you won't have
troubles anymore.

Lorenz
Jul 24 '05 #2
Gazing into my crystal ball I observed Lorenz Haas <ne**@lorenz-haas.de>
writing in news:42******** **************@ newsread4.arcor-online.net:
Mike wrote:
Any help would be appreciated.


Well, after "without listing it with a real estate agent.�" you have
a mad character, I don't know which. Just remove it, and wow, you won't
have troubles anymore.

Lorenz


Possible quotation marks (the ones with the curly cues), or trademark, or
some other character. Often a word processing environment will put these
in. IIRC, Dreamweaver puts in TM badly and causes this problem.

--
Adrienne Boswell
http://www.cavalcade-of-coding.info
Please respond to the group so others can share
Jul 24 '05 #3
Mike wrote:

http://www.calgarymike.com/content/fsbo.html

After having validated a couple of pages I'm completely stumped as to why I
get this message. I don't have a line counter in my program (Arachnophia)
and have counted manually, but I can't see a thing as to why I'm getting
this message.

Sorry, I am unable to validate this document because on lines 36, 44, 52,
60, 68, 75, 109, 126, 131, 144, 154, 160, 178, 244, 247, 257, 271, 287, 300,
320, 335, 357, 363, 369, 377, 385, 399, 435, 441, 446, 458 it contained one
or more bytes that I cannot interpret as utf-8 (in other words, the bytes
found are not valid values in the specified Character Encoding). Please
check both the content of the file and the character encoding indication.

Any help would be appreciated.


When you get that message, above it is a box with the heading
"Revalidate With Options". Select the checkbox for Show Source and
then select the Revalidate button. You will then get the same
"Sorry, I am unable to validate this document" message. Underneath
that message will be a listing of your HTML with line numbers. The
lines indicated in the message will be replaced with
#### encoding problem on this line, not shown ####

You will have to compare that listing with the actual file on your
own computer. On your computer, the affected lines will contain
special characters that are not valid in the UTF-8 character set.
Replace those characters with the HTML 4.01 entity references. See
<URL:http://www.w3.org/TR/REC-html40/sgml/entities.html>. Use the
entity names with an ampersand (&) in front and a semi-colon (;) at
the end. Don't use the character references (the numeric form).
That is, for example, use &copy; for the circled-C copyright symbol
instead of ©.

--

David E. Ross
<URL:http://www.rossde.com/>

I use Mozilla as my Web browser because I want a browser that
complies with Web standards. See <URL:http://www.mozilla.org/>.
Jul 24 '05 #4
On Sat, 25 Jun 2005, Mike wrote:
http://www.calgarymike.com/content/fsbo.html

After having validated a couple of pages I'm completely stumped as
to why I get this message.
You're claiming to be encoded in utf-8, but in fact that's not so.

If I force iso-8859-1 as the encoding there are 408 syntax errors
reported. If I force windows-1252 then there are 406 syntax errors
reported. You appear to be using (or trying to use) XHTML/1.0
Appendix C without understanding XHTML. My recommendation would be to
use HTML/4.01 unless and until you have an overwhelming reason to use
XHTML and know how to use it.

My hunch is that this thing is probably encoded in the proprietary
windows-1252 encoding (best avoided), but with so many other syntax
errors present it's hard to focus on the detail.
Sorry, I am unable to validate this document because on lines 36,
44, 52, 60, 68, 75, 109, 126, 131, 144, 154, 160, 178, 244, 247,
257, 271, 287, 300, 320, 335, 357, 363, 369, 377, 385, 399, 435,
441, 446, 458 it contained one or more bytes that I cannot interpret
as utf-8 (in other words, the bytes found are not valid values in
the specified Character Encoding). Please check both the content of
the file and the character encoding indication.


Well, it told you exactly what was wrong and what to do. Unicode
security requirements make it a mandatory rule to reject documents
claiming to be utf-8 and failing to pass utf-8 sanity check, and I'd
say that is very wise. It's a bug in Mozilla/Firefox that it's
willing to have a try at displaying an invalid utf-8 document: it
ought to throw an alert first (before possibly offering to do a fixup
at the reader's own risk).

Jul 24 '05 #5
Mike wrote:
http://www.calgarymike.com/content/fsbo.html

After having validated a couple of pages I'm completely stumped as to why I
get this message. I don't have a line counter in my program (Arachnophia)
and have counted manually, but I can't see a thing as to why I'm getting
this message.
I have that program and it is easy to add line numbers.
Sorry, I am unable to validate this document because on lines 36, 44, 52,
[...]
check both the content of the file and the character encoding indication.

As others have mentioned you have a spurious character at the end of
those lines. It is a #160 (hex a0), which would be "&nbsp;" if it were
escaped properly.
Those are the least of the validation problems. There are a vast number
of serious errors on that page. I have to admire browsers that can
coherently display such a mess. Use
<http://www.htmlhelp.co m/tools/validator/> to see what I mean. It ignores
the encoding errors.

--
jmm dash list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Jul 24 '05 #6
On Fri, 24 Jun 2005, David Ross wrote:
On your computer, the affected lines will contain
special characters that are not valid in the UTF-8 character set.
There is no such thing as a "UTF-8 character set".
Don't use the character references (the numeric form).
That is, for example, use &copy; for the circled-C copyright symbol
instead of ©.


You are clueless. Please read first
http://ppewww.ph.gla.ac.uk/~flavell/charset/
http://ppewww.ph.gla.ac.uk/~flavell/...checklist.html
http://www.cs.tut.fi/~jkorpela/chars.html
before you try to write your next posting.

--
Top-posting.
What's the most irritating thing on Usenet?

Jul 24 '05 #7

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

Similar topics

21
3908
by: Stefan Richter | last post by:
Hi, after coding for days on stupid form validations - Like: strings (min / max length), numbers(min / max value), money(min / max value), postcodes(min / max value), telefon numbers, email adresses and so on. I thought it might be a better way to programm an automated, dynamic form validation that works for all kinds of fields, shows the necessary error messages and highlights the coresponding form fields.
3
1401
by: arc | last post by:
I have a server object that performs zipcode validation based on zipcode entered in the web form. Ideally this should work as follows: Once the zip code is entered in the edit box it should validate the entry with this server object before moving to enter state in the next dropdown field. - What is the event by which we can do this for the edit box? (OnBlur doesnt seem to capture the text though it fires up the server object) - This...
67
5320
by: Scott Meyers | last post by:
I have a web site that, due to maintenance by several people, some of whom are fairly clueless about HTML and CSS, etc. (notably me), has gotten to the point where I'm pretty sure it's suffering from bit rot. Though the pages seem to display okay under IE and FF, I really think it's time for an under-the-hood cleaning. I recently received a copy of Molly Holzschlag's "Spring Into HTML and CSS," and in the first chapter, she makes a big...
41
2638
by: Gérard Talbot | last post by:
Cross-posted to: comp.infosystems.www.authoring.html and alt.html Followup-to: comp.infosystems.www.authoring.html 1- One day, I stumbled across a website that offers to validate webpages. What was really special about that site is that the validation service was available in Russian, German, Spanish and English. Now, I can't find this site anymore. I did search google. Do you know such site? What's its url? 2- Generally speaking, the...
16
2231
by: Hosh | last post by:
I have a form on a webpage and want to use JavaScript validation for the form fields. I have searched the web for form validation scripts and have come up with scripts that only validate individual fields, such as an "Email Validation Script" or a "Phone Validation Script". Is it ok to put all these scripts on page as they are or should they be joined in some way together to be one script? I'm a total JavaScript newbie and am completely...
0
1989
by: Brian Conway | last post by:
I am having some validation and insertion problems. I am using a date picker that takes the selected date and puts it to ("dd-MMM-yyyy") format, as this was the only format that Oracle would accept on an insert, however, when it does a comparision validation it is failing. I have StartDate = comparing to an invisible textbox that contains todays date EndDate = comparing to StartDate needing to be >= SetupDate = comparing to StartDate...
2
4415
by: Rafael Veronezi | last post by:
I have a little problem while working with Validation Controls in extensive forms... When the user reaches the end, and something is wrong, it just highlights the messages (a client-side script)... But, if the field is on the top of the form, and the user doesn't search, and keep clicking on the button, he will think that there's a problem on the form... I would like to know how could I implement a way that the click button does a...
14
6296
by: Matt | last post by:
I want to know if ASP.NET Web Forms Validation Controls are Server-Side or Client-Side form validation? Since I think each validator control can select either 1) JavaScript based error dialog or 2) show the error message next to the control. For example, if the text field is empty with RequiredField Validator control, it can show the value in ControlToValidate property in two ways as I mentioned. Please advise. Thanks!
1
1444
by: Simon | last post by:
Hi, Has anyone experienced the problem where validation controls stop a previously working page from submitting. Sometimes, when I move between my work machine and my home machine validation that was previously working perfectly just starts to bugger up the page. One normally happens is I'll have it working fine at work and then when I
0
1702
by: dhurwitz | last post by:
Hi, In my ASP.NET 2.0 web app, I have a user control, ucBinEdges, with several text boxes. The user control has several validation controls validating the Text of these text boxes - CompareValidator, RangeValidator, RequiredFieldValidator, and a ValidationSummary. The page using ucBinEdges is a content page working in conjunction with a master page. The master page defines two ContentPlaceHolders: cphLeftNav and cphReportContent. ...
0
8932
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8768
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8778
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7599
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4308
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4532
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2945
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2205
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
1934
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.