Python
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
MANIFEST.in
README.rst
distribute_setup.py
setup.py
winreg_unicode.py

README.rst

winreg_unicode

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.

The following functions are included in winreg_unicode:

Relevant links