Skip to content

Repository files navigation

Rabbit

Logo

Another Zawgyi <=> Unicode Converter

Info

Zawgyi to Unicode has been written in 2011. Now, unicode to zawgyi has been finished.

Why another converter ?

When I was writting ZG2uni , Parabaik was not opensource. At that time, I need to use for MYSTERY ZILLION for converting the whole database to Unicode. So, I wrote ZG2Uni (of course , it has some bugs and some rule missing).

For Unicode to zawgyi , Parabaik is the GPL license and cannot use in iOS app and Android App Parabaik is the LGPL license. 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

Demo

Build

All the rule are under source/rule folder

All the langue template and compile script are under source/lang folder

To Build

cd source
node build.js

You can get build result under the output folder.

Examples

C++

#include "Rabbit.h"
#include <iostream>

int main() {
    std::string uni = "မင်္ဂလာပါ";
    std::string zg = rabbit::uni2zg(uni);
    std::cout << zg << std::endl;
    return 0;
}

Changelog

10/08/2026

  • add C++

19/05/2020

  • support typescript

11/08/2019

  • add go lang

3/10/2018

  • add kotlin and using hash map instead of json. Thanks @vincent-paing
  • remove swift 1 and 2 in compile list. No more support.

About

Another Zawgyi <=> Unicode Converter

Topics

Resources

Stars

188 stars

Watchers

22 watching

Forks

Releases

Packages

Used by

Contributors

Languages