[Ilugc] what is the length of an indic string? was Foss Conf Logo-2

  • From: lawgon@xxxxxxxxxxxxxxx (Kenneth Gonsalves)
  • Date: Sat Nov 17 13:33:16 2007


On 17-Nov-07, at 1:06 PM, ??????????? wrote:

len(u'???????')

7

??? ???? ?????. ?????  
???? ??????????.

try this - create a table in a database with name as varchar of  
length 5. And try to insert ???????? into it - it will  
fail. Please also check the length of the same word in c, c++, perl,  
java, lua, haskell, php, visual basic, C# and see what comes out.  
Also try similar words in kannada, telugu, hindi. Then investigate  
how these languages calculate the length of a string. You will find  
that you will also need Tamil hardware to make your logic work. You  
are trying to make the sun rise in the west ;-)

-- 

regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/


Other related posts: