Home

Using unicode stings in python program

string = "தமிழ்"
print(list(string))
Output:
['த', 'ம', 'ி', 'ழ', '்']
normally how python reads the unicode strings. this seems like python did not recoganize properly and let we see how tamilstring helps here

1
2
3
from tamilString import String
string = "தமிழ்"
string = String(string)
Output:
['த', 'மி', 'ழ்']
output shows that using tamilstring helps to handle tamilstring unicodes more effectively.

To explore what more tamilstring provides