perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric L. Brine" <ebr...@home.com>
Subject Re: multilanguage site
Date Sat, 02 Sep 2000 17:08:05 GMT

> > As far as I can tell there's no way in html to indicate to the
> > browser that a chunk of content is in some other encoding other
> > than what was specified in the headers or meta tag. There's no
> > <span charset=...> attribute or anything like that.
> 
> Yes, there is.

None exists in the standard, as seen below, and I don't see anything in
CSS either.

<!ELEMENT SPAN - - (%inline;)*    -- generic language/style container
-->
<!ATTLIST SPAN
  %attrs;                         -- %coreattrs, %i18n, %events --
  %reserved;                      -- reserved for possible future use --
  >

<!ENTITY % attrs "%coreattrs; %i18n; %events;">

<!ENTITY % coreattrs
 "id       ID             #IMPLIED  -- document-wide unique id --
  class    CDATA          #IMPLIED  -- space-separated list of classes
--
  style    %StyleSheet;   #IMPLIED  -- associated style info --
  title    %Text;         #IMPLIED  -- advisory title --"
  >

<!ENTITY % i18n
 "lang     %LanguageCode; #IMPLIED  -- language code --
  dir      (ltr|rtl)      #IMPLIED  -- direction for weak/neutral text
--"
  >

<!ENTITY % events
 "onclick     %Script;  #IMPLIED  -- a pointer button was clicked --
  ondblclick  %Script;  #IMPLIED  -- a pointer button was double
clicked--
  onmousedown %Script;  #IMPLIED  -- a pointer button was pressed down
--
  onmouseup   %Script;  #IMPLIED  -- a pointer button was released --
  onmouseover %Script;  #IMPLIED  -- a pointer was moved onto --
  onmousemove %Script;  #IMPLIED  -- a pointer was moved within --
  onmouseout  %Script;  #IMPLIED  -- a pointer was moved away --
  onkeypress  %Script;  #IMPLIED  -- a key was pressed and released --
  onkeydown   %Script;  #IMPLIED  -- a key was pressed down --
  onkeyup     %Script;  #IMPLIED  -- a key was released --"
  >

ELB

Mime
View raw message