Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/saturngod/zg2uni
- Owner: saturngod
- Created: 2010-12-30T15:58:48.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2011-02-08T09:18:10.000Z (almost 14 years ago)
- Last Synced: 2024-04-08T17:02:09.175Z (9 months ago)
- Language: PHP
- Homepage: http://www.rabbit-converter.org
- Size: 105 KB
- Stars: 10
- Watchers: 6
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 todefault_charset = "utf-8"
search
mbstring.internal_encoding
and change tombstring.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.sqlHow to use in coding
====================require "zawgyi2unicode.php";
$conv=new ZG2Uni();
echo $conv->zg_uni($conv->html_decode($zawgyi));