You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe Codepage (a summary property which must be set *before* any
other string value), is a string. Documentation admits it might also be
an integer, but it doesn't matter. Both foo.SetProperty(PID_CODEPAGE,
'1252') and foo.SetProperty(PID_CODEPAGE, 1252) raise "unknown error 65d".
I believe 0x65d (1629d) to be ERROR_DATATYPE_MISMATCH.
Well, I violated the admonition of the Great Satan: "PID_CODEPAGE must
be first." (or words to that effect). It turns out not to make a
difference. Revised (conforming) source attached.
I fail to see the bug in this report. As you found out, you need to set the codepage property before setting any of the string properties. This is a requirement imposed by Microsoft, and has nothing to do with Python.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: