PHP Classes
Icontem

Class: Unicode Manipulation


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Rubens Takiguti Ribeiro  >  Unicode Manipulation  >  Download  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Unicode Manipulation Support forum
Base name: unicode
Description: Manipulate text with Unicode encodings
Related top rated classes:
Version: 1.0
Required PHP version: 5.0
License: GNU Lesser General Public License (LGPL)
All time users: 515 users
All time rank: 3431
Week users: 4 users
Week rank: 1856
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Trackback   Applications   Files Files  

Author

Picture of Rubens Takiguti Ribeiro
Name: Rubens Takiguti Ribeiro is available for providing paid consulting. Contact Rubens Takiguti Ribeiro .
Published packages: 4 Browse this author's classes Browse this author's classes
Country: Brazil Brazil - PHP jobs in Brazil
Home page: http://www.tecnolivre.com.br/
Age: 25
All time rank: 1372
Week rank: 717

Innovation Award

PHP Programming Innovation award nominee
January 2009
Number 7
Unicode is the way to go when you need to mix texts that use different character sets in the same page.

There are several solutions to manipulate strings using Unicode. However most of them only manipulate text encoded in one of possible Unicode encodings: UTF-8 .

This class provides a complete solution to manipulate Unicode encoded text supporting UTF-16 and UTF-32 besides UTF-8.

Manuel Lemos

Groups

Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Text processing Manipulating and validating text data View top rated classes

Detailed description

This class can be used to manipulate text with Unicode encodings.

It can perform several types of operations that involve text strings encoded as UTF-8, UTF-16 or UTF-32, like:

- Get the text sequence for byte order mark for little and big endian
- Convert a given character code to Unicode encoded text and vice-versa
- Get the byte length of a given Unicode encoded character
- Convert text encoding between UTF-8, UTF-16 and UTF-32
- Get a part of an Unicode encoded string from a given position and an optional length
- Get the string length of an Unicode encoded text
- Determine whether a given string has Unicode encoded text

User ratings

There are not enough user ratings to display for this class.

Trackback links

Link Description
php class for Unicode Manipulation If you ever had to build a site in a language that had special characters or a multilanguage website, then you have had problems with UTF encoding for sure...

Applications that use this class

No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

Files

File Role Description
Plain text file unicode.class.php Class Main Class
Plain text file doc.php Aux. Class Documentation
Plain text file test_convert.php Test Test converting
Plain text file test_equal.php Test Test equal
Plain text file test_size.php Test Test character size
Plain text file example.php Example Examples of how to print a text file using unicode encoding
Plain text file LICENSE.TXT Doc. License
Download all files: unicode.tar.gz unicode.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products