-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 897c62e
Showing
10 changed files
with
1,778 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
``` | ||
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | ||
Version 2, December 2004 | ||
``` | ||
|
||
Copyright (C) 2004 Sam Hocevar <[email protected]> | ||
|
||
Everyone is permitted to copy and distribute verbatim or modified | ||
copies of this license document, and changing it is allowed as long | ||
as the name is changed. | ||
|
||
``` | ||
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | ||
``` | ||
|
||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION | ||
|
||
0. You just DO WHAT THE FUCK YOU WANT TO. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#Rabbit | ||
|
||
 | ||
|
||
**Another Zawgyi <=> Unicode Converter** | ||
|
||
Zawgyi to Unicode has been written in [2011](https://github.com/saturngod/ZG2Uni_JS/commits/master). Now, unicode to zawgyi has been finished. | ||
|
||
### Why another converter ? | ||
|
||
When I was writting [ZG2uni](https://github.com/saturngod/ZG2Uni_JS/) , [Parabaik](https://github.com/ngwestar/parabaik) is not opensource. At that time, I need to use for [MYSTERY ZILLION](http://www.mysteryzillion.org) for converting the whole database to Unicode. | ||
|
||
For Unicode to zawgyi , Parabaik is the GPL license and cannot use in iOS app and Android App. So, decided to write new one with **WTFPL license**. | ||
|
||
> I cannot promise , it's correct 100% after converting. | ||
> If you are not using in app or program and just for converting the text , please use [Parabaik](https://github.com/ngwestar/parabaik) | ||
### Demo | ||
|
||
- [Web](http://saturngod.github.io/Rabbit/) | ||
- [Android](https://play.google.com/store/apps/details?id=com.comquas.rabbitzawgyiunicodeconverter) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<html> | ||
<head> | ||
<title>Zawgyi to Unicode</title> | ||
<meta charset="utf-8"/> | ||
<script src="uni2zg.js"></script> | ||
<script src="zg2uni.js"></script> | ||
</head> | ||
<body> | ||
<header> | ||
<img src="rabbit_100.png" align="middle"> | ||
<h2 style="display:inline;font-family:Helvetica,Arial,sans-serif;padding-left:5px">Rabbit</h2> | ||
</header> | ||
|
||
<h3 id="cFont">Unicode Text</h3> | ||
<textarea rows="10" cols="10" id="sample" style="width:100%;font-size:18px;font-family:'MON3 Anonta 1'">သီဟိုဠ်မှ ဉာဏ်ကြီးရှင်သည် အာယုဝဍ်ဎနဆေးညွှန်းစာကို ဇလွန်ဈေးဘေးဗာဒံပင်ထက် အဓိဋ္ဌာန်လျက် ဂဃနဏဖတ်ခဲ့သည်။ | ||
|
||
ယေဓမ္မာ ဟေတုပ္ပဘဝါ တေသံ ဟေတုံ တထာဂတော အာဟ တေသဉ္စ ယောနိရောဓေါ ဧဝံ ဝါဒီ မဟာသမဏော။ | ||
|
||
(မြန်မာပြန်) | ||
|
||
မြတ်စွာဘုရားရှင်သည် ရှေးကပြုခဲ့ဖူးသော အကြောင်းတရားကြောင့် ဖြစ်ပေါ်လာကြသော အကျိုးတရားကို ဟောကြားတော်မူသည်။ | ||
|
||
ထိုအကြောင်းတရားတို့၏ ချုပ်ငြိမ်းရာတရားတို့ကိုလည်း ဟောတော်မူ၏။ | ||
|
||
ရဟန်းကြီးဖြစ်သော ဗုဒ္ဓမြတ်စွာဘုရားသည် ဤသို့သောအယူရှိတော်မူ၏။ | ||
</textarea> | ||
<p> | ||
<input type="button" value="Uni > ZG" onclick="convert()"> | ||
<input type="button" value="ZG > Uni" onclick="convertuni()"> | ||
</p> | ||
|
||
<script> | ||
function convert(){ | ||
document.getElementById('sample').value=uni2zg(document.getElementById('sample').value); | ||
document.getElementById('sample').style.fontFamily="Zawgyi-One"; | ||
document.getElementById('cFont').innerHTML = 'Zawgyi Text'; | ||
} | ||
function convertuni() { | ||
document.getElementById('sample').value=zg2uni(document.getElementById('sample').value); | ||
document.getElementById('sample').style.fontFamily="'MON3 Anonta 1'"; | ||
document.getElementById('cFont').innerHTML = 'Unicode Text'; | ||
} | ||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# To Support Other Languages | ||
|
||
|
||
|
||
Todo | ||
|
||
- [ x ] Java | ||
- [ ] Objective-C | ||
- [ ] Swift | ||
- [ ] Ruby | ||
- [ ] Python |
Oops, something went wrong.