Python, being a rather international programming language has unicode handling built in, but your much more local operating system might not be so international and rudely stop after the first 256 characters.
vegaseat
DaniWeb's Hypocrite
5,989 posts since Oct 2004
Reputation Points: 1,345
Solved Threads: 1,417
I am sorry that I don't know any Hebrew characters, but I have done this little example for Spanish characters. Try something similar with the values for Hebrew characters.
[php]# here I used the unicode \uxxxx where xxxx is a four digit
# hexadecimal number to put in two typical Spanish characters
# 00bf = ¿ and 00f3 = ó that are not on my US keyboard
a = u'\u00bfC\u00f3mo es usted?'
print a
# result is ¿Cómo es usted?
[/php]When I exceed \u00ff I just get a question mark character, no error. Let me know how you fare with this.
Shalom!
vegaseat
DaniWeb's Hypocrite
5,989 posts since Oct 2004
Reputation Points: 1,345
Solved Threads: 1,417