Skip to main content

a Unicode-aware winreg package for Python 2

Project description

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:

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page