What are using and what is the code?
winreg Python 3 is what you should be using.
For Python 2 there where a winreg_unicode module.
winreg Python 3 is what you should be using.
For Python 2 there where a winreg_unicode module.
Quote: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.