This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mhammond
Recipients
Date 2003-01-21.23:09:39
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
As determined via
http://mail.python.org/pipermail/python-win32/2003-January/000745.html

Registry *value names* (not just the data values) can
contain embedded NULL characters, and indeed appear to
be Unicode - ie, WinNT registry uses Unicode natively,
and the value names are MBCS encoded in the "A" API
version of these functions.

_winreg.EnumValue, _winreg.EnumKey (and the same in the
win32api module) are affected.

I wonder if a fix to this should actually return
Unicode objects if a high-byte exists?  At the very
least, we must use the "length" of the valuename
returned, rather than assuming null termination.
History
Date User Action Args
2008-01-20 09:55:55adminlinkissue672132 messages
2008-01-20 09:55:55admincreate