Skip to content

DanielStutzbach/winreg_unicode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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: