- From: jonathan chetwynd <j.chetwynd@btinternet.com>
- Date: Mon, 29 Jul 2002 08:02:15 +0100
- To: "Jukka Korpela" <jukka.korpela@tieke.fi>, "WAI List \(E-mail\)" <w3c-wai-ig@w3.org>
thanks for clearing that up somewhat. by >using character references or entity references is it meant "<" ">" for <> ? and if so what is the effect if one does? thanks jonathan ----- Original Message ----- From: "Jukka Korpela" <jukka.korpela@tieke.fi> To: "WAI List (E-mail)" <w3c-wai-ig@w3.org> Sent: Monday, July 29, 2002 7:27 AM Subject: RE: <?xml version="1.0" encoding="UTF-8"?> > > jonathan chetwynd wrote: > > > <?xml version="1.0" encoding="UTF-8"?> > > *is rendered as text. > > That happens on a few browsers, which have no idea of XML (or correct SGML > parsing for that matter). > > > is there a workaround? > > Omit the processing instruction <?xml version="1.0" encoding="UTF-8"?> > This can be done if the encoding is UTF-8 (or UTF-16). Note that you cannot > do this if your document actually uses e.g. ISO-8859-1 so that you enter > accented characters "as such" and not using character references or entity > references. But if you only use Ascii characters, you can claim your > document to be UTF-8 encoded. > > The XHTML 1.0 specification implicitly but clearly says that the instruction > can be omitted to circumvent the problem: > > "C.1 Processing Instructions > Be aware that processing instructions are rendered on some user agents. > However, also note that when the XML declaration is not included in a > document, the document can only use the default character encodings UTF-8 or > > UTF-16." - http://www.w3.org/TR/xhtml1/#guidelines > > > am I the only mug bothering with this? > > No, this problem has often been discussed on different fora, such as > news:comp.infosystems.www.authoring.html and news:alt.html > (And it's not really an accessibility problem specifically.) > > -- > Jukka Korpela, senior adviser > TIEKE Finnish Information Society Development Centre > http://www.tieke.fi > Phone: +358 9 4763 0397 Fax: +358 9 4763 0399 > >
Received on Monday, 29 July 2002 03:02:34 UTC