Hi Diman,

Monday, July 15, 2002, 13:00:23 GMT +0300 (which was the same day,
12:00:23 local time here), you wrote, using �The Bat!�:

D> Hello George,

D> 15.07.2002, you wrote:

GMM>> Attached  there  is a simple html message which The Bat! displays with
GMM>> wrong character encoding.
D> Wrong HTML -
D> "charset=iso-8859-7" and "<SPAN lang=FR"

To my knowledge - no. The meaning of "charset" should be clear in this
context, but it has nothing to do with languages specified in SPANs.
>From the HTML 4 W3C spec:

The "lang" attribute
> specifies the base language of an element's attribute values and
> text content.

And:
> The intent of the lang attribute is to allow user agents to render
> content more meaningfully based on accepted cultural practice for a
> given language. This does not imply that user agents should render
> characters that are atypical for a particular language in less
> meaningful ways; user agents must make a best attempt to render all
> characters, regardless of the value specified by lang.

So it should be absolutely legal to have charset ISO-8859-7 and French
language applied for a block of HTML.

Regards
Michael

-- 
The Bat! 1.61
Windows 2000 5.0 Build 2195 Service Pack 2


_________________________________________________________
Archives   : http://tbbeta.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
Unsubscribe: mailto:[EMAIL PROTECTED]
Bugs/Wishes: https://www.ritlabs.com/bt/

Reply via email to