PHP Classes

PHP Unicode to Bijoy Converter: Convert Bijoy ANSI text from Unicode Bengali

Recommend this page to a friend!
     
  Info   Example   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 60%Total: 149 All time: 9,098 This week: 673Up
Version License PHP version Categories
unicode-to-bijoy 1.0.1MIT/X Consortium ...5PHP 5, Text processing
Description 

Author

This class can convert Bijoy ANSI text from Unicode Bengali.

It can take text string of unicode of Bengali characters and converts them to Bijoy ANSI encoding.

Innovation Award
PHP Programming Innovation award nominee
September 2016
Number 9


Prize: PhpStorm IDE 1 year individual subscription
Bijoy is a character set encoding for representing Bengali text.

Bengali text characters are supported by Unicode.

The class can take Bengali characters represented as UTF-8 to Bijoy character set.

Manuel Lemos
Picture of Miraz Mac
  Performance   Level  
Name: Miraz Mac <contact>
Classes: 13 packages by
Country: Bangladesh Bangladesh
Age: 29
All time rank: 201429 in Bangladesh Bangladesh
Week rank: 44 Up1 in Bangladesh Bangladesh Up
Innovation award
Innovation award
Nominee: 5x

Example

<?php
require_once __DIR__.'/src/Unicode2Bijoy.php';
$str='?????? ??????? ????? ????? ???
???? ???????? ??? ???? ???? ?????
????????? ???????? ?????? ????
???????? ??? ??? ???? ??????
??????? ??? ????? ??? ???????? ???
????? ??? ? ??????????? ????????? ?????
????? ???? ???? ???? ?? ???
??? ?????? ???? ?????? ???? ????
???? ????? ???? ???????? ????
? ???? ???? ???? ???????? ?????
??? ????? ???? ???? ???????
??? ???? ???? ???? ?? ????????
?? ????? ????? ?????? ?????
??? ????? ??????? ????? ?????
??? ??? ??? ???? ??? ???? ???
????? ????? ?? ?? ???? ????? ??? ?'
;
?>
Original (Typed using Avro):<br/>
<span style="color:green"><?php echo $str;?></span>
<hr/>
Converted to Bijoy (SutonnyMJ font):<br/>
<span style="font-family:SutonnyMJ;font-size:22px;color:red">
<?php
echo mirazmac\Unicode2Bijoy::convert($str);
?>
</span>


Details

Unicode2Bijoy

PHP class to convert unicode to Bijoy ANSI.

Install via composer

composer require mirazmac/unicode2bijoy

Example

$str='????? ??? ???? ????!';
echo mirazmac\Unicode2Bijoy::convert($str);

Boring Legal Stuff

Unicode2Bijoy is licensed under The MIT license. I'll be happy if you contribute and improve this class. Don't forget to report bug(s).

There should be some of 'em :p '


  Files folder image Files (5)  
File Role Description
Files folder imagesrc (1 file)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file example.php Example Auxiliary script
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files (5)  /  src  
File Role Description
  Plain text file Unicode2Bijoy.php Class Class source

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  
 100%
Total:149
This week:0
All time:9,098
This week:673Up
 User Ratings  
 
 All time
Utility:75%StarStarStarStar
Consistency:75%StarStarStarStar
Documentation:75%StarStarStarStar
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:60%StarStarStarStar
Rank:1226