mongol_code 0.1.1 mongol_code: ^0.1.1 copied to clipboard
Unicode conversion package for traditional Mongolian scripts
example/mongol_code_example.dart
import 'package:mongol_code/mongol_code.dart';
void main() {
MongolCode converter = MongolCode.instance;
// Unicode to Menksoft code
String unicodeInput = 'ᠮᠣᠩᠭᠣᠯ';
String menksoftResult = converter.unicodeToMenksoft(unicodeInput);
print(menksoftResult);
// Menksoft code to Unicode
String menksoftInput = "\uE2C1\uE27F\uE317\uE27E\uE2E8"; // bichig
String unicodeResult = converter.menksoftToUnicode(menksoftInput);
print(unicodeResult);
}