Website Meta Language / src / wml_include / fmt / isolatin.src

##  wml::fmt::isolatin - ISO-Latin-1 to HTML Entity Conversion
##  Copyright (c) 1997-2001 Ralf S. Engelschall, All Rights Reserved. 

#   the container tag itself
<define-tag isolatin endtag=required>
    [[s| |&nbsp;|g]]\

#   the "#include ... global" support
<if "$(global)" <group


=encoding utf8

=head1 NAME

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


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

  Text with ISO latin 1 characters
  for instance german umlauts: ``öäüÖÄÜß''


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

When adding the C<global> argument, the complete document gets automatically
encapsulated into a C<E<lt>isolatinE<gt>> container.

=head1 AUTHOR

 Ralf S. Engelschall


 Internal: P1, P2, P6
 External: --

=head1 SEEALSO

ISO Latin 1 character table