Hi Matt You wrote:
Lea, I'm not sure why I always escape the dash - perhaps because I can??? :) I am assuming the dash will someday cause me problems, so I just escape it now, to avoid a lot of re-work.
I don't expect an unescaped dash to cause trouble as it has, AFAIK, no meanings in code. However, I type on an English-language keyboard so if I want a dash, curly quotes, a reference to the keyboard " mark, or proper spelling of various place and personal names, the unfriendly &#number; escapes are my only current method. Of course, if I were working from sources that were already in proper characters, I could try a little Copy and Paste experimenting to see how far UTF-8 would go.
Other than that, I escape a lot of "usual characters," such as single quotes, double quotes, and ampersands.
Those all have meanings in writing code and may not validate, as you have seen, even if they are they are in a running text context; I think only linking to a separate file will work very well to escape the quotes and ampersands in JavaScript. Regards, Gene Falck [EMAIL PROTECTED] ****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************
