daddyalfie Posted November 21, 2009 Report Posted November 21, 2009 I just validated the html of a website of mine and found a whopping 152 errors! After my jaw had stopped bouncing on the keyboard, , I discovered that almost all were due to "Nonstandard SMGL characters 147, 148, 133, etc. These were ordinary quotation or apostrophes within normal paragraphs. My doctype is as follows, and is something I just copy-paste as I don't really understand what the gobbeldygook means! Is this a setting on my computer that generates improper characters? I received the text from the client as Word documents, which I then copy-paste into notepad for HTML coding. HepMe! Alfie Quote
Wickham Posted November 21, 2009 Report Posted November 21, 2009 (edited) It sounds as if the Word characters for " and ' which carry special effects have not been "cleaned" by copying into Notepad. I have also had situations where I have had to re-type them individually in Notepad to clean them. I don't think the doctype has anything to do with the problem. Edited November 21, 2009 by Wickham Quote
newseed Posted November 21, 2009 Report Posted November 21, 2009 Make sure you define a proper character encoding tag. Quote
Susie Posted November 21, 2009 Report Posted November 21, 2009 Yes, Word will do that to you every time. I always paste the content into Notepad prior and I always paste into the HTML view rather than Code view so I can catch the mistakes before it messes everything up. Quote
daddyalfie Posted November 22, 2009 Author Report Posted November 22, 2009 (edited) Yes, Word will do that to you every time. I always paste the content into Notepad prior and I always paste into the HTML view rather than Code view so I can catch the mistakes before it messes everything up. smile Eh? "I always paste the content into Notepad prior " Explaineth pleath (Has to do with Dremweaver?) Alfie Edited November 22, 2009 by daddyalfie Quote
daddyalfie Posted November 22, 2009 Author Report Posted November 22, 2009 (edited) Tanks TKG and Susie. I shall also pursue those clues! Alfie Edited November 22, 2009 by daddyalfie Quote
daddyalfie Posted November 22, 2009 Author Report Posted November 22, 2009 @ Wickham Your response is very much appreciated! Can we shoot Bill Gates now? Alfie Quote
Susie Posted November 22, 2009 Report Posted November 22, 2009 Eh? "I always paste the content into Notepad prior " Explaineth pleath big_smile Sorry. Prior to pasting the text into the program, I paste it into Notepad first and then copy it from there. This will strip out all the formatting from Word and make it plain text. Quote
daddyalfie Posted November 22, 2009 Author Report Posted November 22, 2009 (edited) Hmmm! That is exactly what I have been doing, until recently! The last couple of times I have taken the notepad version of the text, added the HTML coding and THEN pasting it all into the web page. I also noted that I have charset=iso-8859-1 specified rather than utf-8 as TKG suggested. Hmmmm! Edited November 22, 2009 by daddyalfie Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.