Please use the Rabbit instead of this repo
PHP
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
index.php
zawgyi2unicode.php
zawgyi2unicode_cli.php
zg2uni_unix.php

README.md

Written By Saturngod

Zawgyi to Unicode Algorithm from solveware solution javascript. http://paragu.parabaik.info/

Setup

check php.ini

$php --ini

and you will get php.ini path.

In php.ini

search

default_charset

and change to

default_charset = "utf-8"

search

mbstring.internal_encoding

and change to

mbstring.internal_encoding = UTF-8

How to convert (normal)

$php zawgyi2unicode_cli.php zawgyi.sql > unicode.sql

How to convert (*nix OS and Mac OSX)

$php zg2uni_unix.php zawgyi.sql > unicode.sql

How to use in coding

require "zawgyi2unicode.php";
$conv=new ZG2Uni();
echo $conv->zg_uni($conv->html_decode($zawgyi));