NAME

AxKit::XSP::CharsetConv - AxKit XSP taglib for charset conversion

SYNOPSIS

Add the CharsetConv namespace to your XSP <xsp:page> tag:

<xsp:page
  language='Perl'
  xmlns:xsp='http://apache.org/xsp/core/v1'
  xmlns:conv='http://xmlns.knowscape.com/xsp/CharsetConv'>

And add the taglib to AxKit (via httpd.conf or .htaccess):

AxAddXSPTaglib AxKit::XSP::CharsetConv

DESCRIPTION

The XSP CharsetConv taglib implements character set conversion as implemented in iconv(), through the Apache::AxKit::CharsetConv module that comes with your standard AxKit install. You may wish to use it to convert data from misc. sources (databases, files, browser posts, the environment, etc...) that are not UTF-8 yet need to be included in the output of your XSP.

Tag Reference

There is only one tag provided by this taglib: charset-convert. It has two mandatory attributes, from and to, which are the character codes to convert (surprise) from and to.

AUTHOR

Robin Berjon, robin@knowscape.com

COPYRIGHT

Copyright (c) 2001 Robin Berjon. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.