Ratings | | Unique User Downloads | | Download Rankings |
60% | | Total: 149 | | All time: 9,098 This week: 673 |
|
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
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 |
| |
|
|
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 '
|
Applications that use this package |
|
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.