Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
The WinErrorMessage utility function calls FormatMessageA in order to get the Windows error message. This unfortunately returns the message encoded using the current "codepage", which can give unreadable results if there are non-ASCII characters in it.
Instead, we should probably use FormatMessageW and then convert to UTF-8. At least PyArrow expects the error message in a Status to be utf8-encoded.
Attachments
Issue Links
- links to