Login   Register  
PHP Classes
elePHPant
Icontem

convertor: character encoding stream convertor

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2006-11-08 (7 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,252 All time: 2,830 This week: 1,459Up
Version License Categories  
convertor 1.0GNU General Public Lice...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
Age: 31
All time rank: 187220 in Czech Republic Czech Republic
Week rank: 1817 Up14 in Czech Republic Czech Republic Up

  Files folder image Files  
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

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,252All time:2,830
 This week:0This week:1,459Up