lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev hyphenation


From: David Woolley
Subject: Re: lynx-dev hyphenation
Date: Sat, 31 Jul 1999 11:48:21 +0100 (BST)

> 1) how to get information about the language of the current html file (based
> on the charset name of the current document or user setups).

You shouldn't.  The current HTML specifications advise the use of 
lang= on all documents, even if in en-us.  charset is not particularly
a reliable indication of character set and is certainly not an indication
of language.

>From an error recovery point of view, you might use charset as a clue,
but only in the absence of lang attributes and HTTP Content-Language
(I think this one exists).

There will probably be a move to UTF-8 soon, nad this will give no
language clues.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]