-
iDunkselsta: looks like 6488 does work on Windows. I had a DOS code page selected instead of a Windows one. Not sure what the default is.
-
selstaiDunk: hmm ty for testing, I might test myself in a VM to see what default is
-
iDunkOTOH, that might be with the SO fix. I'll recompile...
-
iDunkIt was with the SO fix. This is what works for my with the Windows code page for my locale paste.debian.net/hidden/f71ae9d3
-
iDunkThe mlog.cpp stuff I commented out is not necessary any more since moneromooo fixed colors display on Windws. That alone does not fix 6488 on Windows.
-
selstaokay so the u8 is necessary?
-
selstainteresting
-
selstaI wasn’t sure if it makes a difference
-
iDunkI'm building without it now.
-
iDunkLooks like it works without it. On to a different test...
-
iDunkThe other test looks promising as well, although I don't see chinese characters in the terminal, just squares paste.debian.net/hidden/38cb9635
-
selstaiDunk: so which diff would you recommend now?
-
selstajust adding `SetConsoleOutputCP(CP_UTF8);` into main?
-
iDunkYes
-
selstaok nice, seems simple
-
iDunkWith the caveat that a Windows code page needs to be selected initially, not a DOS one.
-
selstaupdated the PR
-
selstaI would say let’s only merge this to master for now
-
selstanot include this with the next release
-
selstaand get some feedback
-
iDunkselsta: current 6488 on Windows paste.debian.net/hidden/4370bf9d
-
selstalooks good
-
rbrunnerDid somebody check whether file names and passwords with non-ASCII characters still work correctly after using that code page setting call? Sometimes things are pretty fragile there on Windows
-
rbrunnerAnd to be absolute sure one would have to set a password with "special" characters with an unmodified build and then check with the modified one whether that password still works ...
-
iDunk6488 fails with "Error: failed to generate new wallet: boost::filesystem::path codecvt to wstring: error", v0.15.0.5 generates the wallet.
-
selstaokay :/ will undo the change for now