Surah names not in mushaf.txt
Closed this issue · 3 comments
agmemon10 commented
mustafa0x commented
\uFB8D
for "سورة".
And this function for the rest:
const get_surah_char = i => String.fromCharCode(i + 64396 + (i > 37 ? 33 : 0));
agmemon10 commented
JazakAllahu khayran! You're a genius! Just fyi, i think \ufb8c is what gives "سورة" and \ufb8d is for "الفاتحة"
mustafa0x commented
Ah, yes, indeed. One off.