srounet / Pymem

A python library for windows, providing the needed functions to start working on your own with memory editing.
MIT License
307 stars 44 forks source link

fixed encoding of filenames and paths #43

Closed DavidDiao closed 3 years ago

DavidDiao commented 3 years ago

encoding of szExeFile and other filenames should be the default encoding of the system this issue may cause a UnicodeDecodeError if there is a process named with non-ascii characters(usually characters in other languages) running when calling open_process_from_name (by the way, ressources is called resources in english, i was puzzled for a while when i saw the name of the directory)

srounet commented 3 years ago

This looks like a legitimate proposition, I will merge and make a release with this changes. As for ressources vs resources I will make a proposition in a PULL Request and ask the community to review it, so everyone is aware of the changes before it gets released