On Thu, 1 Nov 2001, brian moseley wrote:

> in re character encodings and conversions, my current plan
> is to write an IO::CharHandle class that takes the name of a
> character encoding as an argument and transparently performs
> conversions. the goal is to work with utf8 data only inside
> the boundaries of the container, and convert to native
> encodings when data passes out of the container.

Note that this is covered in Perl 5.7.2+ using the PerlIO layer. For an
example see XML::SAX::PurePerl which parses XML switching encodings on the
fly.

-- 
<Matt/>

    /||    ** Founder and CTO  **  **   http://axkit.com/     **
   //||    **  AxKit.com Ltd   **  ** XML Application Serving **
  // ||    ** http://axkit.org **  ** XSLT, XPathScript, XSP  **
 // \\| // ** mod_perl news and resources: http://take23.org  **
     \\//
     //\\
    //  \\

Reply via email to