Why Sinhala copied from a Sri Lankan gazette looks like "Y%S ,xld" (and how to turn it into Unicode) - DEV Community
FM Abhaya and the other FM fonts draw Sinhala over ASCII in visual order. Here is how a converter maps and reorders it into real Unicode Sinhala.