PApp::Recode - convert bytes from one charset to another
use PApp::Recode; # not auto-imported into .papp-files
$converter = to_utf8 PApp::Recode "iso-8859-1"; $converter->("string");
This module creates conversion functions that enable you to convert text data from one character set (and/or encoding) to another.
#FIXME# this module is certainly NOT finished yet, as PApp itself currently uses PApp::Recode::Pconv internaly ;->
Currently this function always returns 1. #FIXME#
This class has never been tested, so don't expect it to work.
Perl's internal utf8-flag is ignored on input and not set on output.
newwith the first argument equal to ``utf-8''. The returned conversion function will, however, forcefully set perl's utf-8 flag on the returned scalar.
newwith the second argument equal to ``utf-8''. The returned conversion function will, however, upgrade its argument to utf-8.
This is the class that actually implements character conversion. It should not be used directly.
the PApp manpage.
Marc Lehmann <firstname.lastname@example.org> http://www.goof.com/pcg/marc/