The winreg_unicode package is a drop-in replacement for Python 2’s _winreg module. However, it returns unicode values where possible, similar to Python 3’s winreg module.
To illustrate the need for the winreg_unicode package, suppose an application must query the registry to discover a filename and the registry contains the string "me?uresorna.txt". Python 2’s _winreg module will return "meduresorna.txt" instead, which is not the actual name of the file.
The winreg_unicode package does not yet contain all of _winreg‘s functions. In particular, functions that write to the registry are not yet included. Code contributions are welcome.
Leave a Reply
You must be logged in to post a comment.