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

Re: well-formedness error



--On Thursday, June 17, 2004 6:29 PM +0900 Martin Duerst <duerst@xxxxxx> wrote:
>
>> 4. Optionally, do the same with language info:
>>   <meta http-equiv="content-language" content="en">
>>   <input type=hidden name=la value=en>
> 
> No. While the browser will make sure that the reply gets sent
> back encoded in UTF-8, there is absolutely no way to make sure
> that the language of the posting is 'en'. If you want language
> information, you have to give the user a chance to select it.

Application-dependent, really. For blog postings, no. For other
forms, yes. I was talking about HTML forms in general, so I 
said "optionally".

In site search, it is usually correct to match the search
language to the language of the page containing the form. For
our Canadian customers, a search form on the French pages should
send la=fr and one on the English pages should send la=en.

Thanks for the pointers. I wish we'd found that Unicode tutorial
four years ago. Sorry, I don't remember the browsers that needed
the accept-charset tag back in the summer of 2000.

wunder
--
Walter Underwood
Principal Architect, Verity Ultraseek