You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem with that unicode_to_str() function is it won't work for non-English text.
More generally this is the problem Python 3 tried to solve by splitting bytes and string types. I meant the process.write() method to be a low level way to write bytes into memory rather than actual strings with text.
I'd rather let the user define however they want how to encode their unicode strings into bytes and then use the write method.
I write a code for unicode to str and work fine. like
process.write(addr, unicode_to_str('string' or u'unicode'))
should check lpBuffer in WriteProcessMemory ,like this:
and modify process.poke for len change
The text was updated successfully, but these errors were encountered: