On Aug 22, 2004, at 8:13 am, Sage Olson wrote:

If you specify an xml:lang attribute in the html tag, do you still have to use a meta tag to specify the content-language for the document?

Yes. It you specify xml:lang="ja", you still could send the file as charset="shift_jis" or charset="utf-8". (not a big problem with English, as it only use lower ASCII, but for many other languages, you could end up with weird characters if the browser misinterpret the language encoding in use.)


And you better have the server send the correct headers associated with the file.

PS - IE ignores the xml:lang and lang attributes, just doesn't know they exist.

P.
---/---
Philippe Wittenbergh
now live : <http://emps.l-c-n.com/>
code | design | web projects : <http://www.l-c-n.com/>
IE5 Mac bugs and oddities : <http://www.l-c-n.com/IE5tests/>

******************************************************
The discussion list for  http://webstandardsgroup.org/

Proud presenters of Web Essentials 04 http://we04.com/
Web standards, accessibility, inspiration, knowledge
To be held in Sydney, September 30 and October 1, 2004

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************



Reply via email to