System Events keystroke command going crazy with international text?


I have a python script return some text which I need to use with my AppleScript:

set txtpy to do shell script "python ~/"
display dialog txtpy
tell application "System Events" to keystroke txtpy

When the text returned is in English, both the dialog and the keystroke (the typing) are perfect.
However, if the text returned is in non-ascii chars, only the dialog displays it correctly but the keystroke is merely the text “aaa” or “ששש” (if Hebrew is the current input language).

Any ideas??