sinhala-unicode-coverter
Version:
A library to translate between sinhala unicode and legacy fonts
534 lines (533 loc) • 25.1 kB
JavaScript
"use strict";
exports.__esModule = true;
exports.unicodetToTipTaka = void 0;
exports.unicodetToTipTaka = function (text) {
// text = text.replace(/,/g, "₩");
// text = text.replace(/\./g, "�");
// text = text.replace(/\(/g, "→");
// text = text.replace(/\)/g, "←");
// text = text.replace(/%/g, "ᅰ");
// text = text.replace(/\//g, "$");
// text = text.replace(/–/g, "ᅯ");
// text = text.replace(/\?/g, "ᅮ");
// text = text.replace(/!/g, "ᅭ");
// text = text.replace(/\=/g, "ᅬ");
// text = text.replace(/\'/g, "ᅫ");
// text = text.replace(/\+/g, "ᅪ");
// text = text.replace(/\:/g, "ᅩ");
// text = text.replace(/\÷/g, "ᅨ");
// text = text.replace(/\;/g, "ᄊ");
// text = text.replace(/ත්රෛ/g, "ff;1");
// text = text.replace(/ශෛ/g, "ffY");
// text = text.replace(/චෛ/g, "ffp");
// text = text.replace(/ජෛ/g, "ffp");
// text = text.replace(/කෛ/g, "ffl");
// text = text.replace(/මෛ/g, "ffu");
// text = text.replace(/පෛ/g, "ffm");
// text = text.replace(/දෛ/g, "ffo");
// text = text.replace(/තෛ/g, "ff;");
// text = text.replace(/නෛ/g, "ffk");
// text = text.replace(/ධෛ/g, "ffO");
// text = text.replace(/වෛ/g, "ffj");
// text = text.replace(/ප්රෞ/g, "fm1#");
// text = text.replace(/ෂ්යෝ/g, "fIHda");
// text = text.replace(/ඡ්යෝ/g, "fPHda");
// text = text.replace(/ඪ්යෝ/g, "fVHda");
// text = text.replace(/ඝ්යෝ/g, "f>Hda");
// text = text.replace(/ඛ්යෝ/g, "f>Hda");
// text = text.replace(/ළ්යෝ/g, "f<Hdaaaa");
// text = text.replace(/ඵ්යෝ/g, "fMHdaaaa");
// text = text.replace(/ඨ්යෝ/g, "fGHdaaaa");
// text = text.replace(/ශ්යෝ/g, "fYHda");
// text = text.replace(/ක්ෂ්යෝ/g, "fCIHda");
// text = text.replace(/බ්යෝ/g, "fLHda");
// text = text.replace(/ච්යෝ/g, "fpHdaaaa");
// text = text.replace(/ඩ්යෝ/g, "fvHdaaaa");
// text = text.replace(/ෆ්යෝ/g, "f\Hdaaaa");
// text = text.replace(/ග්යෝ/g, "f.Hda");
// text = text.replace(/ජ්යෝ/g, "fcHdaa");
// text = text.replace(/ක්යෝ/g, "flHdaa");
// text = text.replace(/ල්යෝ/g, "f,Hdaaa");
// text = text.replace(/ම්යෝ/g, "fuHdaaaa");
// text = text.replace(/න්යෝ/g, "fkHdaa");
// text = text.replace(/ප්යෝ/g, "fmHdaaaa");
// text = text.replace(/ද්යෝ/g, "foHda");
// text = text.replace(/ස්යෝ/g, "fiHda");
// text = text.replace(/ට්යෝ/g, "fgHda");
// text = text.replace(/ව්යෝ/g, "fjHda");
// text = text.replace(/ත්යෝ/g, "f;Hda");
// text = text.replace(/භ්යෝ/g, "fNHda");
// text = text.replace(/ධ්යෝ/g, "fOHda");
// text = text.replace(/ථ්යෝ/g, "f:Hda");
// text = text.replace(/ෂ්යො/g, "fIHd");
// text = text.replace(/ශ්යො/g, "fYHd");
// text = text.replace(/ඛ්යො/g, "fLHd");
// text = text.replace(/ක්ෂ්යො/g, "fCIHd");
// text = text.replace(/බ්යො/g, "fnHd");
// text = text.replace(/ව්යො/g, "fjHd");
// text = text.replace(/ඩ්යො/g, "fvHd");
// text = text.replace(/ෆ්යො/g, "f\Hd");
// text = text.replace(/ග්යො/g, "f.Hd");
// text = text.replace(/ජ්යො/g, "fcHd");
// text = text.replace(/ක්යො/g, "flHd");
// text = text.replace(/ම්යො/g, "fuHd");
// text = text.replace(/ප්යො/g, "fmHd");
// text = text.replace(/ද්යො/g, "foHd");
// text = text.replace(/ස්යො/g, "fiHd");
// text = text.replace(/ට්යො/g, "fgHd");
// text = text.replace(/ව්යො/g, "fjHd");
// text = text.replace(/ත්යො/g, "f;Hd");
// text = text.replace(/භ්යො/g, "fNHd");
// text = text.replace(/ධ්යො/g, "fOHd");
// text = text.replace(/ථ්යො/g, "f:Hd");
// text = text.replace(/ෂ්යෙ/g, "fIH");
// text = text.replace(/ඡ්යෙ/g, "fPH");
// text = text.replace(/ළ්යෙ/g, "f<HH");
// text = text.replace(/ණ්යෙ/g, "fKH");
// text = text.replace(/ච්යෙ/g, "fpH");
// text = text.replace(/ල්යෙ/g, "f,H");
// text = text.replace(/න්යෙ/g, "fkH");
// text = text.replace(/ශ්යෙ/g, "fYH");
// text = text.replace(/ඛ්යෙ/g, "fLH");
// text = text.replace(/ක්ෂ්යෙ/g, "fCIah");
// text = text.replace(/බ්යෙ/g, "fLH");
// text = text.replace(/ඩ්යෙ/g, "fvH");
// text = text.replace(/ෆ්යෙ/g, "f\H");
// text = text.replace(/ග්යෙ/g, "f.H");
// text = text.replace(/ජ්යෙ/g, "fcH");
// text = text.replace(/ක්යෙ/g, "flH");
// text = text.replace(/ම්යෙ/g, "fuH");
// text = text.replace(/ප්යෙ/g, "fmH");
// text = text.replace(/ද්යෙ/g, "foH");
// text = text.replace(/ස්යෙ/g, "fLH");
// text = text.replace(/ට්යෙ/g, "fgH");
// text = text.replace(/ව්යෙ/g, "fjH");
// text = text.replace(/ත්යෙ/g, "f;H");
// text = text.replace(/භ්යෙ/g, "fNH");
// text = text.replace(/ධ්යෙ/g, "fOH");
// text = text.replace(/ථ්යෙ/g, "f:H");
// text = text.replace(/ෂ්රෝ/g, "fI1da");
// text = text.replace(/ඝ්රෝ/g, "f>1da");
// text = text.replace(/ශ්රෝ/g, "fY1da");
// text = text.replace(/ක්ෂ්රෝ/g, "fCI1da");
// text = text.replace(/බ්රෝ/g, "fL1da");
// text = text.replace(/ඩ්රෝ/g, "fv1da");
// text = text.replace(/ෆ්රෝ/g, "f\1da");
// text = text.replace(/ග්රෝ/g, "f.1da");
// text = text.replace(/ක්රෝ/g, "fl1da");
// text = text.replace(/ප්රෝ/g, "fm1da");
// text = text.replace(/ද්රෝ/g, "fÊda");
// text = text.replace(/ස්රෝ/g, "fi1da");
// text = text.replace(/ට්රෝ/g, "fg1da");
// text = text.replace(/ත්රෝ/g, "f;1da");
// text = text.replace(/ශ්රො/g, "fY1d");
// text = text.replace(/ඩ්රො/g, "fv1d");
// text = text.replace(/ෆ්රො/g, "f\1d");
// text = text.replace(/ග්රො/g, "f.1d");
// text = text.replace(/ක්රො/g, "fl1d");
// text = text.replace(/ප්රො/g, "fm1d");
// text = text.replace(/ද්රො/g, "fÊd");
// text = text.replace(/ස්රො/g, "fi1d");
// text = text.replace(/ට්රො/g, "fg1d");
// text = text.replace(/ත්රො/g, "f;1d");
// text = text.replace(/ශ්රේ/g, "fY1a");
// text = text.replace(/බ්රේ/g, "fn1z");
// text = text.replace(/ඩ්රේ/g, "fvz1");
// text = text.replace(/ෆ්රේ/g, "f\1a");
// text = text.replace(/ග්රේ/g, "f.1a");
// text = text.replace(/ක්රේ/g, "fl1a");
// text = text.replace(/ප්රේ/g, "fm1a");
// text = text.replace(/ද්රේ/g, "fÊa");
// text = text.replace(/ස්රේ/g, "fi1a");
// text = text.replace(/ත්රේ/g, "f;1a");
// text = text.replace(/ධ්රේ/g, "fO1z");
// text = text.replace(/ෂ්රෙ/g, "fI1a");
// text = text.replace(/ශ්රෙ/g, "fY1a");
// text = text.replace(/බ්රෙ/g, "fL1");
// text = text.replace(/ෆ්රෙ/g, "f\1");
// text = text.replace(/ග්රෙ/g, "f.1");
// text = text.replace(/ක්රෙ/g, "fl1");
// text = text.replace(/ප්රෙ/g, "fm1");
// text = text.replace(/ද්රෙ/g, "fÊ");
// text = text.replace(/ස්රෙ/g, "fi1");
// text = text.replace(/ත්රෙ/g, "f;1");
// text = text.replace(/භ්රෙ/g, "fN1");
// text = text.replace(/ධ්රෙ/g, "fO1");
// text = text.replace(/්ය/g, "H");
// text = text.replace(/්ර/g, "1");
// text = text.replace(/ෂෞ/g, "fI#");
// text = text.replace(/ඡෞ/g, "fP#");
// text = text.replace(/ශෞ/g, "fY#");
// text = text.replace(/බෞ/g, "fn#");
// text = text.replace(/චෞ/g, "fp#");
// text = text.replace(/ඩෞ/g, "fv#");
// text = text.replace(/ෆෞ/g, "f\#");
// text = text.replace(/ගෞ/g, "f.#");
// text = text.replace(/ජෞ/g, "fc#");
// text = text.replace(/කෞ/g, "fl#");
// text = text.replace(/ලෞ/g, "f,#");
// text = text.replace(/මෞ/g, "fu#");
// text = text.replace(/නෞ/g, "fk#");
// text = text.replace(/පෞ/g, "fm#");
// text = text.replace(/දෞ/g, "fo#");
// text = text.replace(/රෞ/g, "fr#");
// text = text.replace(/සෞ/g, "fi#");
// text = text.replace(/ටෞ/g, "fg#");
// text = text.replace(/තෞ/g, "f;#");
// text = text.replace(/භෞ/g, "fN#");
// text = text.replace(/ඤෞ/g, "f[#");
// text = text.replace(/ෂෝ/g, "fIda");
// text = text.replace(/ඹෝ/g, "fUda");
// text = text.replace(/ඡෝ/g, "fPda");
// text = text.replace(/ඪෝ/g, "fVda");
// text = text.replace(/ඝෝ/g, "f>da");
// text = text.replace(/ඛෝ/g, "fLda");
// text = text.replace(/ළෝ/g, "f<da");
// text = text.replace(/ඟෝ/g, "fZ.dA");
// text = text.replace(/ණෝ/g, "fKda");
// text = text.replace(/ඵෝ/g, "fMda");
// text = text.replace(/ඨෝ/g, "fGda");
// text = text.replace(/ඬෝ/g, "fda");
// text = text.replace(/ශෝ/g, "fYda");
// text = text.replace(/ඥෝ/g, "f{da");
// text = text.replace(/ඳෝ/g, "fZoda");
// text = text.replace(/ක්ෂෝ/g, "fCIda");
// text = text.replace(/බෝ/g, "fnda");
// text = text.replace(/චෝ/g, "fpda");
// text = text.replace(/ඩෝ/g, "fvda");
// text = text.replace(/ෆෝ/g, "f\da");
// text = text.replace(/ගෝ/g, "f.da");
// text = text.replace(/හෝ/g, "fyda");
// text = text.replace(/ජෝ/g, "fcda");
// text = text.replace(/කෝ/g, "flda ");
// text = text.replace(/ලෝ/g, "f,da");
// text = text.replace(/මෝ/g, "fuda");
// text = text.replace(/නෝ/g, "fkda ");
// text = text.replace(/පෝ/g, "fmda");
// text = text.replace(/දෝ/g, "foda");
// text = text.replace(/රෝ/g, "frda");
// text = text.replace(/සෝ/g, "fida");
// text = text.replace(/ටෝ/g, "fgda");
// text = text.replace(/වෝ/g, "fjda");
// text = text.replace(/තෝ/g, "f;da");
// text = text.replace(/භෝ/g, "fNda");
// text = text.replace(/යෝ/g, "fhda");
// text = text.replace(/ඤෝ/g, "f[da");
// text = text.replace(/ධෝ/g, "fOda");
// text = text.replace(/ථෝ/g, "f:da");
// text = text.replace(/ෂො/g, "fId");
// text = text.replace(/ඹො/g, "fUd");
// text = text.replace(/ඡො/g, "fPd");
// text = text.replace(/ඪො/g, "fVd");
// text = text.replace(/ඝො/g, "f>d");
// text = text.replace(/ඛො/g, "fLd");
// text = text.replace(/ළො/g, "f<d");
// text = text.replace(/ඟො/g, "fÕd");
// text = text.replace(/ණො/g, "fKd");
// text = text.replace(/ඵො/g, "fMd");
// text = text.replace(/ඨො/g, "fGd");
// text = text.replace(/ඬො/g, "fËd");
// text = text.replace(/ශො/g, "fYd");
// text = text.replace(/ඥො/g, "f{d");
// text = text.replace(/ඳො/g, " f d");
// text = text.replace(/ක්ෂො/g, "fCId");
// text = text.replace(/බො/g, " fnd ");
// text = text.replace(/චො/g, "fpd");
// text = text.replace(/ඩො/g, "fvd");
// text = text.replace(/ෆො/g, "f\d");
// text = text.replace(/ගො/g, "f.d");
// text = text.replace(/හො/g, "fyd");
// text = text.replace(/ජො/g, "fcd");
// text = text.replace(/කො/g, "fld");
// text = text.replace(/ලො/g, "f,d");
// text = text.replace(/මො/g, "fud");
// text = text.replace(/නො/g, "fkd");
// text = text.replace(/පො/g, "fmd");
// text = text.replace(/දො/g, "fod");
// text = text.replace(/රො/g, "frd");
// text = text.replace(/සො/g, "fid ");
// text = text.replace(/ටො/g, "fgd");
// text = text.replace(/වො/g, "fjd");
// text = text.replace(/තො/g, "f;d");
// text = text.replace(/භො/g, "fNd");
// text = text.replace(/යො/g, "fhd");
// text = text.replace(/ඤො/g, "f[d");
// text = text.replace(/ධො/g, "fOd");
// text = text.replace(/ථො/g, "f:d");
// text = text.replace(/ෂේ/g, "fIa");
// text = text.replace(/ඹේ/g, "fUz");
// text = text.replace(/ඡේ/g, "fPa");
// text = text.replace(/ඪේ/g, "fVa");
// text = text.replace(/ඝේ/g, "f>a");
// text = text.replace(/ඛේ/g, "fLz");
// text = text.replace(/ළේ/g, "f<a");
// text = text.replace(/ඟේ/g, "fZ.a");
// text = text.replace(/ණේ/g, "fKa");
// text = text.replace(/ඵේ/g, "fMa");
// text = text.replace(/ඨේ/g, "fGa");
// text = text.replace(/ඬේ/g, "fZvz");
// text = text.replace(/ශේ/g, "fYa");
// text = text.replace(/ඥේ/g, "f{a");
// text = text.replace(/ඳේ/g, "fZoa");
// text = text.replace(/ක්ෂේ/g, "fCIa");
// text = text.replace(/බේ/g, "fnz");
// text = text.replace(/චේ/g, "fpz");
// text = text.replace(/ඩේ/g, "fvz");
// text = text.replace(/ෆේ/g, "f\a");
// text = text.replace(/ගේ/g, "f.a");
// text = text.replace(/හේ/g, "fya");
// text = text.replace(/පේ/g, "fma");
// text = text.replace(/කේ/g, "fla");
// text = text.replace(/ලේ/g, "f,a");
// text = text.replace(/මේ/g, "fuz");
// text = text.replace(/නේ/g, "fka");
// text = text.replace(/ජේ/g, "fca");
// text = text.replace(/දේ/g, "foa");
// text = text.replace(/රේ/g, "frA");
// text = text.replace(/සේ/g, "fia");
// text = text.replace(/ටේ/g, "fgz");
// text = text.replace(/වේ/g, "fjz");
// text = text.replace(/තේ/g, "f;a");
// text = text.replace(/භේ/g, "fNa");
// text = text.replace(/යේ/g, "fha");
// text = text.replace(/ඤේ/g, "f[a");
// text = text.replace(/ධේ/g, "fOz");
// text = text.replace(/ථේ/g, "f:a");
// text = text.replace(/ෂෙ/g, "fI");
// text = text.replace(/ඹෙ/g, "fU");
// text = text.replace(/ඓ/g, "ft");
// text = text.replace(/ඡෙ/g, "fP");
// text = text.replace(/ඪෙ/g, "fV");
// text = text.replace(/ඝෙ/g, "f>");
// text = text.replace(/ඛෙ/g, "fL");
// text = text.replace(/ළෙ/g, "f<");
// text = text.replace(/ඟෙ/g, "fZ.");
// text = text.replace(/ණෙ/g, "fK");
// text = text.replace(/ඵෙ/g, "fM");
// text = text.replace(/ඨෙ/g, "fG");
// text = text.replace(/ඬෙ/g, "fZv");
// text = text.replace(/ශෙ/g, "fY");
// text = text.replace(/ඥෙ/g, "f{");
// text = text.replace(/ඳෙ/g, "fZo");
// text = text.replace(/ක්ෂෙ/g, "fCI");
// text = text.replace(/බෙ/g, "fn");
// text = text.replace(/චෙ/g, "fp");
// text = text.replace(/ඩෙ/g, "fv");
// text = text.replace(/ෆෙ/g, "f\\");
// text = text.replace(/ගෙ/g, "f.");
// text = text.replace(/හෙ/g, "fy");
// text = text.replace(/ජෙ/g, "fc");
// text = text.replace(/කෙ/g, "fl");
// text = text.replace(/ලෙ/g, "f,");
// text = text.replace(/මෙ/g, "fu");
// text = text.replace(/නෙ/g, "fk");
// text = text.replace(/පෙ/g, "fm");
// text = text.replace(/දෙ/g, "fo");
// text = text.replace(/රෙ/g, "fr");
// text = text.replace(/සෙ/g, "fi");
// text = text.replace(/ටෙ/g, "fg");
// text = text.replace(/වෙ/g, "fj");
// text = text.replace(/තෙ/g, "f;");
// text = text.replace(/භෙ/g, "fN");
// text = text.replace(/යෙ/g, "fh");
// text = text.replace(/ඤෙ/g, "f[");
// text = text.replace(/ධෙ/g, "fO");
// text = text.replace(/ථෙ/g, "f:");
// text = text.replace(/තු/g, ";2");
// text = text.replace(/ගු/g, ".2");
// text = text.replace(/කු/g, "fl2");
// text = text.replace(/තූ/g, ";@");
// text = text.replace(/ගූ/g, ".@");
// text = text.replace(/කූ/g, "l@");
// text = text.replace(/රු/g, "re");
// text = text.replace(/රූ/g, "rE");
// text = text.replace(/ආ/g, "wd");
// text = text.replace(/ඇ/g, "we");
// text = text.replace(/ඈ/g, "wE");
// text = text.replace(/ඌ/g, "W#");
// text = text.replace(/ඖ/g, "T#");
// text = text.replace(/ඒ/g, "ta");
// text = text.replace(/ඕ/g, "Tz");
// text = text.replace(/ඳි/g, "Ës");
// text = text.replace(/ඳී/g, "ËS");
// text = text.replace(/දූ/g, "É");
// text = text.replace(/දී/g, "oS");
// text = text.replace(/ලූ/g, ",Q");
// text = text.replace(/ර්ය/g, "h!");
// text = text.replace(/ඳූ/g, "Ì");
// text = text.replace(/ර්/g, "rA");
// text = text.replace(/ඨි/g, "Gs");
// text = text.replace(/ඨී/g, "GS");
// text = text.replace(/ඡී/g, "PS");
// text = text.replace(/ඛ්/g, "Lz");
// text = text.replace(/ඛි/g, "Ls");
// text = text.replace(/ලු/g, ",q");
// text = text.replace(/ඛී/g, "LS");
// text = text.replace(/දි/g, "os");
// text = text.replace(/ච්/g, "pz");
// text = text.replace(/ජ්/g, "ca");
// text = text.replace(/රී/g, "rS");
// text = text.replace(/ඪී/g, "VS");
// text = text.replace(/ඪී/g, "VS");
// text = text.replace(/චි/g, "ps");
// text = text.replace(/ථී/g, ":S");
// text = text.replace(/ථී/g, ":S");
// text = text.replace(/ජී/g, "cS");
// text = text.replace(/චී/g, "pS");
// text = text.replace(/ඞ්/g, "Xz");
// text = text.replace(/ඵී/g, "MS");
// text = text.replace(/ට්/g, "gz");
// text = text.replace(/ඵි/g, "Ms");
// text = text.replace(/රි/g, "rs");
// text = text.replace(/ටී/g, "gS");
// text = text.replace(/ටි/g, "gs");
// text = text.replace(/ඩ්/g, "vz");
// text = text.replace(/ඩී/g, "vS");
// text = text.replace(/ඩි/g, "vs");
// text = text.replace(/ඬ්/g, "Zvz");
// text = text.replace(/ඬි/g, "ç");
// text = text.replace(/ධ්/g, "Oz");
// text = text.replace(/ඬී/g, "é");
// text = text.replace(/ධි/g, "Os");
// text = text.replace(/ධී/g, "OS");
// text = text.replace(/බි/g, "ns");
// text = text.replace(/බ්/g, "nz");
// text = text.replace(/බී/g, "nS");
// text = text.replace(/ම්/g, "uz");
// text = text.replace(/ජි/g, "cs");
// text = text.replace(/මි/g, "us");
// text = text.replace(/ඹ්/g, "Uz");
// text = text.replace(/මී/g, "uS");
// text = text.replace(/ඹි/g, "US");
// text = text.replace(/ව්/g, "jz");
// text = text.replace(/ඹී/g, "Us");
// text = text.replace(/ඳු/g, "Ì");
// text = text.replace(/ද්ර/g, "Ê");
// text = text.replace(/වී/g, "jS");
// text = text.replace(/වි/g, "js");
// text = text.replace(/ඞ්/g, "Xz");
// text = text.replace(/ඞී/g, "X");
// text = text.replace(/ඡි/g, "Ps");
// text = text.replace(/ඡ්/g, "Pa");
// text = text.replace(/දු/g, "È");
// text = text.replace(/ජ්/g, "cA");
// text = text.replace(/ර්ණ/g, "K!");
// text = text.replace(/ණී/g, "KS");
// text = text.replace(/ජී/g, "cS");
// text = text.replace(/ඡි/g, "Ps");
// text = text.replace(/ඩි/g, "vs");
// text = text.replace(/ඤු/g, "ZCÌ");
// text = text.replace(/ග/g, ".");
// text = text.replace(/ළු/g, "ZM");
// text = text.replace(/ෂ/g, "I");
// text = text.replace(/ං/g, "x");
// text = text.replace(/ඃ/g, "%");
// text = text.replace(/ඹ/g, "U");
// text = text.replace(/ඡ/g, "P");
// text = text.replace(/ඪ/g, "V");
// text = text.replace(/ඝ/g, ">");
// text = text.replace(/ඊ/g, "B");
// text = text.replace(/ඣ/g, "CO");
// text = text.replace(/ඛ/g, "L");
// text = text.replace(/ළ/g, "<");
// text = text.replace(/ඟ/g, "Z.");
// text = text.replace(/ණ/g, "K");
// text = text.replace(/ඵ/g, "M");
// text = text.replace(/ඨ/g, "G");
// text = text.replace(/ඃ/g, "%");
// text = text.replace(/\"/g, "Ù");
// text = text.replace(/\//g, "^");
// text = text.replace(/\)/g, "(");
// text = text.replace(/:/g, "_");
// text = text.replace(/-/g, "+");
// text = text.replace(/ෆ/g, "\\");
// text = text.replace(/ල/g, ",");
// text = text.replace(/-/g, "+");
// text = text.replace(/රැ/g, "/");
// text = text.replace(/ථ/g, ":");
// text = text.replace(/ත/g, ";");
// text = text.replace(/ළ/g, "<");
// text = text.replace(/ඝ/g, ">");
// text = text.replace(/රෑ/g, "\?");
// text = text.replace(/ඊ/g, "B");
// text = text.replace(/ක/g, "l");
// text = text.replace(/ෘ/g, "D");
// text = text.replace(/ෑ/g, "E");
// text = text.replace(/ත/g, ";");
// text = text.replace(/ඨ/g, "G");
// text = text.replace(/්ය/g, "H");
// text = text.replace(/ෂ/g, "I");
// text = text.replace(/න/g, "k");
// text = text.replace(/ණ/g, "K");
// text = text.replace(/ඛ/g, "L");
// text = text.replace(/ඵ/g, "M");
// text = text.replace(/භ/g, "N");
// text = text.replace(/ධ/g, "O");
// text = text.replace(/ඡ/g, "P");
// text = text.replace(/ඍ/g, "RD");
// text = text.replace(/ඔ/g, "T");
// text = text.replace(/ඹ/g, "U");
// text = text.replace(/ඪ/g, "V");
// text = text.replace(/උ/g, "W");
// text = text.replace(/ශ/g, "Y");
// text = text.replace(/ඤ/g, "[");
// text = text.replace(/ඉ/g, "b");
// text = text.replace(/ජ/g, "c");
// text = text.replace(/ට/g, "g");
// text = text.replace(/ය/g, "h");
// text = text.replace(/ස/g, "i");
// text = text.replace(/ව/g, "j");
// text = text.replace(/න/g, "k");
// text = text.replace(/ක/g, "l");
// text = text.replace(/ප/g, "m");
// text = text.replace(/බ/g, "n");
// text = text.replace(/ද/g, "o");
// text = text.replace(/ච/g, "p");
// text = text.replace(/ර/g, "r");
// text = text.replace(/එ/g, "t");
// text = text.replace(/ම/g, "u");
// text = text.replace(/ඩ/g, "v");
// text = text.replace(/අ/g, "w");
// text = text.replace(/හ/g, "y");
// text = text.replace(/ඥ/g, "{");
// text = text.replace(/ඳ/g, "Ë");
// text = text.replace(/ක්ෂ/g, "CI");
// text = text.replace(/ැ/g, "e");
// text = text.replace(/ෑ/g, "E");
// text = text.replace(/ෙ/g, "f");
// text = text.replace(/ු/g, "q");
// text = text.replace(/ි/g, "s");
// text = text.replace(/ූ/g, "Q");
// text = text.replace(/ී/g, "S");
// text = text.replace(/ෘ/g, "D");
// text = text.replace(/ෲ/g, "DD");
// text = text.replace(/ෟ/g, "#");
// text = text.replace(/ා/g, "d");
// text = text.replace(/්/g, "a");
// text = text.replace(/₩/g, "\"");
// text = text.replace(/�/g, "\'");
// text = text.replace(/→/g, "*");
// text = text.replace(/←/g, "(");
// text = text.replace(/ᅰ/g, "]");
// text = text.replace(/\$/g, "^");
// text = text.replace(/ᅯ/g, "+");
// text = text.replace(/ᅮ/g, "$");
// text = text.replace(/ᅭ/g, "Ø");
// text = text.replace(/ᅬ/g, "±");
// text = text.replace(/ᅫ/g, ")");
// text = text.replace(/ᅪ/g, "±");
// text = text.replace(/ᅩ/g, "_");
// text = text.replace(/ᅨ/g, "^");
// text = text.replace(/ᄊ/g, "Õ");
// text = text.replace(/0/g, "=");
// text = text.replace(/9/g, "-");
// text = text.replace(/8/g, "0");
// text = text.replace(/7/g, "9");
// text = text.replace(/6/g, "8");
// text = text.replace(/5/g, "7");
// text = text.replace(/4/g, "6");
// text = text.replace(/3/g, "5");
// text = text.replace(/2/g, "4");
// text = text.replace(/1/g, "3");
return text;
};