PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Miraz Mac   PHP Unicode to Bijoy Converter   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Auxiliary script
Class: PHP Unicode to Bijoy Converter
Convert Bijoy ANSI text from Unicode Bengali
Author: By
Last change: Added namespace and composer support
Date: 8 years ago
Size: 1,651 bytes
 

Contents

Class file image Download
<?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>