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