PHP Classes

ArCharsetD: Guess the character set of an Arabic text

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: 541 All time: 5,581 This week: 455Up
Version License PHP version Categories
archarsetd 1.0GNU General Publi...4.0PHP 5, Text processing
Description 

Author

This package is specific mainly for applications used in Saudi Arabia Saudi Arabia .

This is a simple class that can be used to guess the character set encoding of an Arabic text string.

It analyzes the text string and counts the frequency of occurrence of characters with certain codes.

It computes the probability value of the text being encoded in some of the most likely character set encodings: windows-1256, iso-8859-6 and utf-8.

This class is part of Khaled Al-Shamaa project for PHP and Arabic language:
http://www.al-shamaa.com/php/arabic/

Picture of Khaled Al-Shamaa
  Performance   Level  
Innovation award
Innovation award
Nominee: 10x

Winner: 4x

 

  Files folder image Files (11)  
File Role Description
Files folder imagephp5 (1 file)
Files folder imagefolder (3 files)
Files folder imageimages (3 files)
Plain text file ArCharsetD.class.php Class Class file
Accessible without login Plain text file example.php Example Example script
Accessible without login HTML file about.html Doc. Documentation
Accessible without login Plain text file style.css Data CSS

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:541
This week:0
All time:5,581
This week:455Up