NAME
HTML::Entities::Latin2 - Encode ISO-8859-2 characters into HTML entities.
SYNOPSIS
use HTML::Entities::Latin2;
$lat2_string = "\"k\xF6zponti\" <b>sz\xE1m\xEDt\xF3g\xE9p</b>";
print HTML::Entities::Latin2::encode($lat2_string);
# "központi" <b>számítógép</b>
print HTML::Entities::Latin2::encode($lat2_string, 'name', '<"');
# "központi" <b>számítógép</b>
print HTML::Entities::Latin2::encode($lat2_string, 'hex');
# "központi" <b>számítógép</b>
DESCRIPTION
Translate high-bit Latin2 characters into HTML entities based on the ISO8859-2 character map, with option of using named, decimal or hex entities. Using this process will allow Eastern European encoded text to be used in ASCII HTML pages.
FUNCTIONS
encode($latin2_string, $encoding_scheme, $unsafe_chars);
SEE ALSO
HTML::Entities http://czyborra.com/charsets/iso8859.html#ISO-8859-2 http://www.w3schools.com/html/html_entitiesref.asp http://www.microsoft.com/globaldev/reference/iso/28592.htm
AUTHOR
Michael Mathews, michael@perlinpractice.com
COPYRIGHT AND LICENSE
Copyright 2004 Michael Mathews. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
CAVEATS
This library has only been tested on Perl 5.6.1, and 5.8.1