Forum Moderators: open

Message Too Old, No Replies

Three periods...

throws an error

         

willybfriendly

7:20 pm on Apr 9, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I am putting up some content that includes quotes with the "three period" connector (which I can not for the life of me remember the name of). You know, something that looks like, "a piece of the quote here...then a later piece of the quote...and then a finishing part of the quote."

I am getting a non SGML character number 133 error when I try to validate.

Do I need to replace all of those with #46;.. or is there some special character that I don't know of?

WBF

troels nybo nielsen

7:46 pm on Apr 9, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



What if you put a space after the last period?

willybfriendly

7:51 pm on Apr 9, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Same problem...:(

I have tried utf-8 and ISO-8859-1. Same problem there too...

WBF

rjohara

8:03 pm on Apr 9, 2005 (gmt 0)

10+ Year Member



Are you preparing the html in an editor like MS Word? Word will "help" you by inserting special non-standard characters that it thinks you want, even when you don't. (Like automatically inserting "smart quotes" when you type straight quotes.)

The three-dot sequence is called an ellipsis. You should be able to insert it specially with the entity reference & hellip ; (with no spaces). Three regular periods will indeed work fine in html; somehow your editor is replacing them without you knowing it.

willybfriendly

8:49 pm on Apr 9, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks. The document was cut and pasted from a Word doc, so that is most likely the problem.

WBF

encyclo

1:37 am on Apr 11, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You may well find that the document will validate with the charset "windows-1252", however you're much better off replacing the ellipsis with the appropriate character entity as suggested by rjohara to ensure better cross-browser and cross-platform compatibility.

Gusgsm

12:00 pm on Apr 11, 2005 (gmt 0)

10+ Year Member



I think appropriated entity is …

Or maybe not…