http://bugs.winehq.org/show_bug.cgi?id=14627
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED
--- Comment #27 from Dmitry Timoshkov dmitry@codeweavers.com 2011-03-09 00:16:47 CST --- (In reply to comment #26)
OK, it seems the answer lies in the last parameter of WideCharToMultiByte, but there's a question: should regedit not use that parameter and export invalid values or should it set it to non-NULL and refuse to export if it gets set to TRUE ?
I'd assume there is nothing that can be done to workaround an incompatible locale.
It's not a rhetorical question, I'm both unsure what Windows does in such case and whether wine should mirror that behavior.
Then please test first before reopening.