View Single Post
  #11  
Old 07-10-2008, 12:05 AM
dan12345 dan12345 is offline
Member
 
Join Date: Jan 2008
Posts: 58
another small problem with hebrew

when using the code written before - it reverses the order of the letters ( which can also be seen in the jpg you attached )

i tried fixing this using method such as

aa = array.array('c', chars)
aa.reverse()
newa = aa.tostring()

or

temp = list(string)
temp.reverse()
newString = string.join(temp, '')

but for some reason this scrambled the hebrew, and adding a text with the new strings led to strange results...

any solution?
thanks
dan
Reply With Quote