transliteration - Transliterate Devnagri script to English using python transliterate package throwing 'ascii' codec error -
i need transliterate hindi text english maintaining pronunciation e.g प्रेम कथा
should converted prem katha
. using python indic_transliterate library.
sanscript.transliterate("टॉयलेट एक प्रेम कथा",_from=sanscript.devanagari,_to=sanscript.iast)
but throwing error 'ascii' codec can't decode byte 0xe0 in position 0: ordinal not in range(128)
though tried converting hindi string unicode , still issue same. can guide me how resolve this.
wiki
Comments
Post a Comment