Message60302
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. |
|
Date |
User |
Action |
Args |
2008-01-20 09:55:55 | admin | link | issue672132 messages |
2008-01-20 09:55:55 | admin | create | |
|