Convert Tamil Unicode values into Tamil strings

Hi here I shared How to convert Tamil Unicode values into Tamil strings in python.

Just we need to store the values in Array as follows. Here i am created an array variable which stores my all the Unicode Tamil values.

Run the following code in Python interactive shell

>>>mystring = [u'\u0bb5', u'\u0ba3' u'\u0b95' u'\u0bcd' u'\u0b95' u'\u0bae' u'\u0bcd']


This will stores all the Unicode values into the “mystring” array variable.

And now just do the following code

>>>print u''.join(mystring)
வணக்கம்


This will prints the converted Unicode Tamil characters.

With Regards
S. Praveen

Advertisements

One thought on “Convert Tamil Unicode values into Tamil strings

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s