On 17 Jun 2008, at 23:46, Patrick H. Lauke wrote:
Beyond the inbuilt entities I tend to just use the characters
directly in the markup and specify UTF-8 encoding. Has been working
reasonably well in all modern browsers.
On 18 Jun 2008, at 00:19, Andrew Cunningham wrote:
Use & < and >
All other characters should be actual characters.
So, that would seem to be the consensus.
Well, how fascinating; you learn something new every day on this list,
and in this case it's making me feel really stupid because I've been
encoding every non-standard character. Admittedly I'm using Coda to
write my markup and that app has a vry handy 'Encode entities'
function that, when combined with a keyboard shortcut, simplifies it
enormously. But it seems that maybe I'm just making unnecessary work
for myself.
I've been doing it that way thus far because I learned (during my
'teach yourself hand-written html/css' stage) that it was the
'correct' way to do it. Is this a case where the correct way is
actually unnecessary?
So let me see if I have this right: as long as my page declares an
encoding (I use UTF-8) I don't need to encode the entities, I can just
type them straight into the markup. Is that correct?
Will it validate? (I normally use an xhtml 1.0 strict doctype).
--
Rick Lecoat
www.sharkattack.co.uk
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************