Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/saturngod/zg2uni

Please use the Rabbit instead of this repo
https://github.com/saturngod/zg2uni

Last synced: 2 months ago
JSON representation

Please use the Rabbit instead of this repo

Awesome Lists containing this project

README

        

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));