Error message encoding is messed up
Bug #1095038 reported by
Andrei Lisin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Image Writer |
Fix Released
|
Medium
|
Tobin Davis |
Bug Description
In getHandleOnFile legacy encoding is used for error message and Qt fails to understand it, as a result localized error message is unreadable. Apparently Qt assumes 1252, while actual ANSI encoding is system-defined and can be changed in system settings. The system itself doesn't depend on the setting as it natively works in unicode and ANSI api is supported for backward compatibility with software written for win9x. Use unicode strings and unicode winapi instead - FormatMessageW instead of FormatMessageA.
Read about unicode in windows: http://
Changed in win32-image-writer: | |
status: | Triaged → Fix Committed |
Changed in win32-image-writer: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Thanks for the tip. I'll add this to my immediate todo for the next release update.