Closed nubonics closed 3 years ago
It's in UTF-16-LE because SbieCtrl (and its successor SandMan) creates the file as such. It has nothing to do with sandboxie-py's behavior.
When you created the ini, did you create it by yourself? If you did, what was the encoding? Did it work on Sandboxie?
Closing for inactivity.
When programmatically creating a Sandboxie.ini file that is located in C:/Windows, the assertion fails as the currentsection is None, because of the encoding that is used, is not locale. From the encoding that is used on line 139 within sandboxie.py, im assuming that this repo was derived from pysandbox on pypi, which, the language that was used to develop this wrapper is Chinese, however, I think it would be better to change the language to English as a default
Recommendation: remove the encoding parameter on line 139 of sandboxie.py