Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kyawnaingtun/ng-z2u-converter
Angular Zawgyi to Unicode converter
https://github.com/kyawnaingtun/ng-z2u-converter
angular-myanmar-unicode-converter myanmar-zawgyi-to-unicode-converter unicode-converter zawgyi-font
Last synced: 30 days ago
JSON representation
Angular Zawgyi to Unicode converter
- Host: GitHub
- URL: https://github.com/kyawnaingtun/ng-z2u-converter
- Owner: KyawNaingTun
- License: mit
- Created: 2016-09-28T07:39:08.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2016-09-28T16:06:26.000Z (about 8 years ago)
- Last Synced: 2024-11-08T19:15:08.078Z (about 2 months ago)
- Topics: angular-myanmar-unicode-converter, myanmar-zawgyi-to-unicode-converter, unicode-converter, zawgyi-font
- Language: JavaScript
- Size: 5.07 MB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Angular Zawgyi to Unicode Converter
=======
A simple AngularJS filter that changes from Zawgyi font input values to Unicode values.ဇော်ဂျီဖောင့် ဖြင့်ရေးသားထားသော input values များကို unicode values အဖြစ် Database တွင် အလွယ်တကူ သိမ်းဆည်းနိုင်ပါသည်။
database တွင် သိမ်းဆည်းထားသော Zawgyi font များကိုလည်း view section မှာ Unicode font အဖြစ် ပြောင်းလဲ ဖော်ပြနိုင်ပါသည်။## How to get it ?
#### Manual Download
Download the from [here](https://github.com/KyawNaingTun/ng-z2u-converter/archive/master.zip)#### Bower
```
bower install ng-z2u-converter
```## Usage
1. Add ng-z2u.min.js to your main file (index.html)
```html
```2. Set `ngZ2UConverter` as a dependency in your module
```javascript
var myapp = angular.module('myapp', ['ngZ2UConverter'])
```3. Use the filter by passing it zawgyi text[View].
```html
{{zawgyiText | convertToUnicode}}
```
4. You can also use in controller[Controller]
```javascript
angular.controller('ApplicationController', function($scope, $filter) {//GLOBAL FILTERvar vm = this;
vm.name = "Converter Application";
vm.zawgyiText = "ျမန္မာယူနီကုဒ္ႏွင့္ ပါတ္သက္ေသာ သတင္းမ်ား၊ ေဆာင္းပါးမ်ားႏွင့္ ျမန္မာယူနီကုဒ္ဧရိယာ အဖြဲ႕၏ လႈပ္ရွား ေဆာင္ရြက္မႈမ်ားကို www.mmunicode.org တြင္ တင္ျပေပးသြားမွာ ျဖစ္ပါတယ္။";
vm.filterByController = function(){
vm.filterByContrlResult = $filter('convertToUnicode')(vm.zawgyiText);
}});
```
5.## Examples
You can see in example folder.## Credits
This project is currently referenced by
[http://www.mcfmyanmar.org/myanmar-unicode-converter/](http://www.mcfmyanmar.org/myanmar-unicode-converter/).
All senior developers who developed font converter.
[Ko Saturngod](http://www.mysteryzillion.org/discussion/14015/zawgyi-or-unicode-auto-detect-font-type-and-convert-correctly).