> > 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

Reply via email to