diff --git a/iast.c b/iast.c index d46306f..0cea1b5 100644 --- a/iast.c +++ b/iast.c @@ -65,6 +65,9 @@ static const struct transliteration_letter table[] = { {0x0903, FLAG_REGULAR, "ḥ"}, /* ः (visarga) */ {0x093d, FLAG_REGULAR, "'"}, /* ऽ (avagrada) */ + /* Special characters */ + {0x0950, FLAG_REGULAR, "aum"}, /* ॐ */ + /* Numbers */ {0x0966, FLAG_REGULAR, "0"}, {0x0967, FLAG_REGULAR, "1"}, @@ -88,8 +91,9 @@ static const struct transliteration_letter table[] = { {0x0962, FLAG_MODIFIER, "ḷ"}, /* ॢ */ {0x0963, FLAG_MODIFIER, "ḹ"}, /* ॣ */ {0x0947, FLAG_MODIFIER, "e"}, /* े */ - {0x094b, FLAG_MODIFIER, "o"}, /* ो */ {0x0948, FLAG_MODIFIER, "ai"}, /* ै */ + {0x094b, FLAG_MODIFIER, "o"}, /* ो */ + {0x094c, FLAG_MODIFIER, "au"}, /* ौ */ {0x094d, FLAG_MODIFIER, ""}, /* ् (virama) */ {0, 0, NULL} diff --git a/test.sh b/test.sh index 6f5d13b..f03cc68 100644 --- a/test.sh +++ b/test.sh @@ -17,9 +17,11 @@ test_word() test_word "संस्कृतम्" "saṃskṛtam" test_word "आर्यावर्त" "āryāvarta" test_word "तन्त्रशास्त्रम्" "tantraśāstram" +test_word "सांख्य" "sāṃkhya" test_word "ऋग्वेद" "ṛgveda" test_word "महाभारतम्" "mahābhāratam" test_word "सरस्वती नदी" "sarasvatī nadī" test_word "देवनागरी" "devanāgarī" test_word "योगः" "yogaḥ" test_word "भगवद्गीता" "bhagavadgītā" +test_word "सम्भोग" "sambhoga"