WML::FMT::ISOLATIN(1)

# the container tag itself <define-tag isolatin endtag=required> {:\
    [[s| |&nbsp;|g]]\
    [[s|X|&iexcl;|g]]\
    [[s|X|&cent;|g]]\
    [[s|X|&pound;|g]]\
    [[s|X|&curren;|g]]\
    [[s|X|&yen;|g]]\
    [[s|X|&brvbar;|g]]\
    [[s|X|&sect;|g]]\
    [[s|X|&uml;|g]]\
    [[s|X|&copy;|g]]\
    [[s|X|&ordf;|g]]\
    [[s|X|&laquo;|g]]\
    [[s|X|&not;|g]]\
    [[s||&shy;|g]]\
    [[s|X|&reg;|g]]\
    [[s|X|&macr;|g]]\
    [[s|X|&deg;|g]]\
    [[s|X|&plusmn;|g]]\
    [[s|X|&sup2;|g]]\
    [[s|X|&sup3;|g]]\
    [[s|X|&acute;|g]]\
    [[s|X|&micro;|g]]\
    [[s|X|&para;|g]]\
    [[s|X|&middot;|g]]\
    [[s|X|&cedil;|g]]\
    [[s|X|&sup1;|g]]\
    [[s|X|&ordm;|g]]\
    [[s|X|&raquo;|g]]\
    [[s|X|&frac14;|g]]\
    [[s|X|&frac12;|g]]\
    [[s|X|&frac34;|g]]\
    [[s|X|&iquest;|g]]\
    [[s|A|&Agrave;|g]]\
    [[s|A|&Aacute;|g]]\
    [[s|A|&Acirc;|g]]\
    [[s|A~|&Atilde;|g]]\
    [[s|Ae|&Auml;|g]]\
    [[s|Aa|&Aring;|g]]\
    [[s|AE|&AElig;|g]]\
    [[s|C|&Ccedil;|g]]\
    [[s|E|&Egrave;|g]]\
    [[s|E|&Eacute;|g]]\
    [[s|E|&Ecirc;|g]]\
    [[s|Ee|&Euml;|g]]\
    [[s|I|&Igrave;|g]]\
    [[s|I|&Iacute;|g]]\
    [[s|I|&Icirc;|g]]\
    [[s|Ie|&Iuml;|g]]\
    [[s|D-|&ETH;|g]]\
    [[s|N~|&Ntilde;|g]]\
    [[s|O|&Ograve;|g]]\
    [[s|O|&Oacute;|g]]\
    [[s|O|&Ocirc;|g]]\
    [[s|O~|&Otilde;|g]]\
    [[s|Oe|&Ouml;|g]]\
    [[s|X|&times;|g]]\
    [[s|O|&Oslash;|g]]\
    [[s|U|&Ugrave;|g]]\
    [[s|U|&Uacute;|g]]\
    [[s|U|&Ucirc;|g]]\
    [[s|Ue|&Uuml;|g]]\
    [[s|Y|&Yacute;|g]]\
    [[s|L|&THORN;|g]]\
    [[s|ss|&szlig;|g]]\
    [[s|a|&agrave;|g]]\
    [[s|a|&aacute;|g]]\
    [[s|a|&acirc;|g]]\
    [[s|a~|&atilde;|g]]\
    [[s|ae|&auml;|g]]\
    [[s|aa|&aring;|g]]\
    [[s|ae|&aelig;|g]]\
    [[s|c|&ccedil;|g]]\
    [[s|e|&egrave;|g]]\
    [[s|e|&eacute;|g]]\
    [[s|e|&ecirc;|g]]\
    [[s|ee|&euml;|g]]\
    [[s|i|&igrave;|g]]\
    [[s|i|&iacute;|g]]\
    [[s|i|&icirc;|g]]\
    [[s|ie|&iuml;|g]]\
    [[s|d`|&eth;|g]]\
    [[s|n~|&ntilde;|g]]\
    [[s|o|&ograve;|g]]\
    [[s|o|&oacute;|g]]\
    [[s|o|&ocirc;|g]]\
    [[s|o~|&otilde;|g]]\
    [[s|oe|&ouml;|g]]\
    [[s|X|&divide;|g]]\
    [[s|o|&oslash;|g]]\
    [[s|u|&ugrave;|g]]\
    [[s|u|&uacute;|g]]\
    [[s|u|&ucirc;|g]]\
    [[s|ue|&uuml;|g]]\
    [[s|y|&yacute;|g]]\
    [[s|b|&thorn;|g]]\
    [[s|ye|&yuml;|g]]\
    %body\ :}\ </define-tag>

# the "#include ... global" support <if "$(global)" <group <isolatin> {#ISOLATIN_GLOBAL#} </isolatin> {#ISOLATIN_GLOBAL#: />/>

##EOF## __END__

NAME
wml::fmt::isolatin - ISO-Latin-1 to HTML Entity Conversion

SYNOPSIS
  #use wml::fmt::isolatin [global]

  <isolatin>
  Text with ISO latin 1 characters
  for instance german umlauts: ``oeaeueOeAeUess''
  </isolatin>

DESCRIPTION
This creates an area substitution with Pass 6 (asubst) for all ISO-Latin-1 characters to their corresponding HTML entities. Note that this is not really necessary because HTML 3.2 states that every browser has to understand ISO-Latin-1 characters. So there is no real need to encode them with this container tag. But it is safe, because the result is 7Bit which can be transfered over more mediums then the 8 Bit version with ISO-Latin-1 characters.

When adding the "global" argument, the complete document gets automatically encapsulated into a "<isolatin>" container.

AUTHOR
 Ralf S. Engelschall
 rse@engelschall.com
 www.engelschall.com

REQUIRES
 Internal: P1, P2, P6
 External: --

SEEALSO
ISO Latin 1 character table