PHP Classes

convertor: character encoding stream convertor

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,268 All time: 3,026 This week: 673Up
Version License Categories
convertor 1.0GNU General Publi...XML, Text processing
Description 

Author

This class converts encodings using iconv extension. You can use it with streamed data (XML).

To be honest, this is quite complex. If you need just general character set conversion, not streams, take a look at iconv or recode itself.

The former version 1.1 does not depend on iconv and conversion is based on the hard coded conv tables. It supports unicode entities as well.

Picture of Robert Sevcik
Name: Robert Sevcik <contact>
Classes: 1 package by
Country: Czech Republic Czech Republic

  Files folder image Files (2)  
File Role Description
Plain text file convertor.class.php Class Version 2.1 of the class - with iconv
Plain text file cls.convertor.php Class Verion 1.1 (old) of the class - without iconv dependency

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,268
This week:0
All time:3,026
This week:673Up