Changing a language in the middle of a python program -


i have program processes text using pyhook. since use hebrew tried seeing happen if type in hebrew. seems if when program starts pc on hebrew if change language understand hebrew , vice-versa english. looked @ ascii value hebrew letters comes out , seems wrong hebrew ascii , unicode numbers.. can me solve problem please?

def onkeyboardevent(event): global start global text print text text += chr(event.ascii) print event.ascii 

the prints there checking up
thank you


Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -