< wumpus>
I'd really hate having to patch leveldb for this so please tell me this is okay and I just have to add a set_codepage(UTF8) somewhere
< wumpus>
note that we already *have* SetConsoleCP(CP_UTF8); and SetConsoleOutputCP(CP_UTF8); on windows, but this does not affect filenames (only console output)
< sipsorcery>
wumpus: I'm taking a look at the test failures on the leveldb PR.
< sipsorcery>
would you expect the dbwrapper unit tests to fail in test_bitcoin if it was a leveldb unicode problem?
< wumpus>
sipsorcery: I don't know, do the dbwrapper tests exercise things such as UTF-8 emoji in filenames?
< sipsorcery>
I'm not sure either, seems to be some random file name generation going on but can't see any emojis.
< wumpus>
is it possible at all for the *A windows filename functions to handle utf-8? if so, how to make windows do that?
< wumpus>
all workarounds I see online use conversion to wstring then *W functions
< wumpus>
this was also what we did in the old windows leveldb env
< wumpus>
because of that I think the new leveldb windows env can only handle filenames in the configured codepage, which depends on language etc
< sipsorcery>
i don't claim to be an expert but my understanding is that given the A in *A stands for ASCII those calls can't deal with unicode paths.
< bitcoin-git>
bitcoin/master 114e89e Wladimir J. van der Laan: Merge #17624: net: Fix an uninitialized read in ProcessMessage(..., "tx", ...)...
< bitcoin-git>
[bitcoin] laanwj merged pull request #17624: net: Fix an uninitialized read in ProcessMessage(..., "tx", ...) when receiving a transaction we already have (master...uninitialized-read-in-ProcessMessage) https://github.com/bitcoin/bitcoin/pull/17624