Paste text typed in FM Abhaya, FM Malithi or another FM font in the first box: the Unicode Sinhala appears in the second box as you type. It also works the other way: type or paste Unicode Sinhala in the second box, or type it with the keyboard below it, to get FM text for Word or Photoshop.
Why FM text needs converting
In Sri Lanka, Sinhala was typed on computers with "ASCII fonts" long before Unicode was supported everywhere, and the FM family became the most common of them. FM Abhaya and its sisters redraw the English keys as Sinhala letters on the Wijesekara layout, the same arrangement as the Sinhala typewriter. The file itself only contains Latin letters and symbols; the font turns them into Sinhala on screen and on paper. Decades of school papers, official letters, newspapers and books were produced this way.
That text breaks as soon as it leaves a computer with FM fonts. In an email, on a website or on a phone it becomes strings like "isxy,". Unicode Sinhala gives every letter its own code, so it shows correctly on any device, can be searched on Google, and works in modern apps. Converting FM files to Unicode is how this material is moved online and kept readable.
Why people convert back to FM
Many Sinhala typists still work fastest with FM fonts, and print and design work in Sri Lanka often relies on them: exam papers, posters, banners and invitations. Some design programs handled Unicode Sinhala poorly for years, which kept FM fonts in use. When a text arrives in Unicode, from a website, a WhatsApp message or a phone, it sometimes has to be turned into FM text for that work. Paste it into the Unicode box and copy the result from the first box.
How the conversion works
The converter maps each FM glyph to its Sinhala character, then puts the text into Unicode order. In FM text the kombuva (ෙ) is typed before its consonant and the repaya (the r sign above a letter) after it; Unicode stores them the other way round. FM fonts also have single glyphs for common combinations, such as ම් or දු, which are expanded into consonant plus sign. Two-part vowel signs such as ො and ෞ are joined, and conjuncts like ශ්රී are rebuilt with the zero-width joiner Unicode uses for them.
Tips for a clean result
- Convert Sinhala only; English words in FM text come out as Sinhala letters.
- Check punctuation and numbers, since several symbol keys are Sinhala signs in FM fonts.
- After pasting the Unicode result into Word, choose a Unicode font such as Iskoola Pota or Nirmala UI instead of leaving the FM font.
Frequently Asked Questions
What are FM Abhaya and the FM fonts?
FM Abhaya, FM Malithi, FM Bindumathi, FM Emanee and the other FM fonts are legacy Sinhala fonts, very common in Sri Lanka for documents, exam papers, newspapers and print. They draw Sinhala letters over the codes of English keys, so සිංහල is stored as "isxy,". The text looks right only where an FM font is installed.
Does it work with FM Malithi, FM Bindumathi and other FM fonts?
Yes. The FM fonts share the same character layout and differ only in their style, so text typed in any of them converts the same way. Fonts from other families, such as DL Manel or Kaputa, use different codes and won't convert correctly.
Why does my Sinhala text look like English letters?
It was typed in an FM font and is now shown in a font that doesn't have FM's drawings, for example after pasting it into an email, Facebook or a phone. The characters underneath are plain English letters. Paste them into the first box to get readable Unicode Sinhala.
Can I convert Unicode Sinhala to FM Abhaya?
Yes. Type or paste Unicode Sinhala in the Unicode box and the FM text appears in the first box. Paste it into your document or design and set the font to FM Abhaya or another FM font. This helps when a print layout, a template or a design tool works better with FM fonts.
How do I convert a Word document typed in FM Abhaya?
Select all (Ctrl+A), copy, and paste into the FM box. Copy the Unicode result into a new document and set the font to a Unicode Sinhala font such as Iskoola Pota, Nirmala UI or Noto Sans Sinhala. Formatting is lost, so convert long files a section at a time.
Why do the kombuva and repaya move when converting?
FM fonts store letters in the order they are drawn: the kombuva (ෙ) is typed before its consonant and the repaya after it. Unicode stores them in spoken order, after and before the consonant. The converter reorders them, so words like ගෙදර and ශ්රී come out right.
How can I type Sinhala directly in Unicode?
Use the Sinhala keyboard on this page, which follows the Wijesekara layout used by FM typists, or the Sinhala typing tool to write Sinhala by sound in English letters (Singlish). Both give Unicode text, which you can still turn into FM text here.