PHP Classes
elePHPant
Icontem

PHPBiDi: Get visual representation of right to left strings

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2008-01-16 (9 years ago) RSS 2.0 feedNot enough user ratingsTotal: 416 All time: 6,176 This week: 640Up
Version License PHP version Categories
phpbidi 1.0GNU General Publi...5.0HTML, Localization, PHP 5, Text proce...
Description Author

PHPBiDi is an implementation of the Unicode Bidirectional Algorithm in PHP.

This package can be used to get the visual representation of text strings for languages that are written from right to left.

It can parse right to left strings of plain text or HTML and returns visually, rather than logically, ordered strings of characters.

Innovation Award
PHP Programming Innovation award nominee
February 2008
Number 3


Prize: One copy of the Zend Studio
The documents that are in certain idioms use writing systems, like the Arabic, Hebrew and Persian, that have the text characters rendered from right to left (RTL), unlike texts that use the Latin alphabet, that have the text rendered from left to right (LTR).

When you have documents that mix RTL and LTR text, you have a bidirectional text (BiDi). Bidirectional documents present a greater challenge to be rendered, as you need to figure how to render the different sections of the text.

This class provides a solution to process bidirectional documents in such way that it returns the text ordered according the way it is visually rendered.

Manuel Lemos
Name: Efthimios ... <contact>
Classes: 1 package by
Country: Greece Greece
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Example File
Plain text file phpbidi.php Class PHPBiDi Class File
Plain text file unicode.php Class UniChar Class File
Accessible without login Plain text file unicode_data.php Aux. Data File

 Version Control Unique User Downloads Download Rankings  
 0%
Total:416
This week:0
All time:6,176
This week:640Up