nvda
a8e2e361 - appModuleHandler: Python 2.x can't handle unicode module names, so encode them using mbcs.

Commit
15 years ago
appModuleHandler: Python 2.x can't handle unicode module names, so encode them using mbcs. Most importantly, this stops exceptions when trying to load an app module for an executable containing non-ASCII characters. This was causing NVDA to fail to work at all with such applications. On a system which is set to use the character set in question, an app module can even be loaded for such applications. However, if the character set is different (e.g. Russian executable name on an English system), an app module can't be loaded, as mbcs can't encode these characters and instead returns question marks. This issue will need to be addressed later if it becomes a problem. Fixes #1352.
Author
Parents
Loading