Yes, it is 1255 it's surprising you know that. any way this is the code I tried
search=cnrl.GetValue() search= search.decode("cp1255") search=search.encode("utf8") word='' category=1 cur.execute('select * from hebrew_words where word like ?', [''+search+'']) this is the error it send me : 'ascii' codec can't encode characters in position 0-1: ordinal not in range(128) have any idea? Thank you for trying any way. it worms my Jewish art :) -- http://mail.python.org/mailman/listinfo/python-list