KhalisFoundation / anvaad-js

Transliteration toolkit for Gurmukhi ASCII to Unicode, romanized and other character sets
https://khalisfoundation.github.io/anvaad-js/
MIT License
7 stars 8 forks source link

Updated ASCII to Unicode edgecases with Yakash + Aunkar/Dulainkar #118

Closed irvanjitsingh closed 3 months ago

irvanjitsingh commented 3 months ago

When converting ASCII to unicode, the character for aunkar/dulainkar should be ü/¨ when preceeded by either a halant + akhar, udaat, or yakash. This allows GurbaniAkhar to place the aunkar/dulainkar lower so it isn't obstructing the preceeding character.

Ex: ਮ੍ਰਿਤੵੁ should convert to imRq´ü which renders as Screenshot 2024-07-16 at 10 15 40 AM

The code currently only handles halant+akhar and udaat ( ੑ )

tarunsingh5 commented 3 months ago

lgtm