aboutsummaryrefslogtreecommitdiff
path: root/src/node/chainstate.cpp
diff options
context:
space:
mode:
authorRyan Ofsky <ryan@ofsky.org>2022-03-03 14:12:07 -0500
committerRyan Ofsky <ryan@ofsky.org>2022-03-03 14:12:07 -0500
commit2f5fd3cf9225aed439d1de767312bb340972d665 (patch)
tree509a2404960c0460c7e7452b7225b748538f7524 /src/node/chainstate.cpp
parent08bcfa27675da5c65e4c9eab7e7764eab0599298 (diff)
downloadbitcoin-2f5fd3cf9225aed439d1de767312bb340972d665.tar.xz
test: Correctly decode UTF-8 literal string paths
Call fs::u8path to convert some UTF-8 string literals to paths, instead of relying on implicit conversions. The implicit conversions incorrectly decode const char* paths using the current windows codepage, instead of treating them as UTF-8. This could cause test failures depending what environment windows tests are run in. Issue was reported by MarcoFalke <falke.marco@gmail.com> in https://github.com/bitcoin/bitcoin/pull/24306#discussion_r818566106
Diffstat (limited to 'src/node/chainstate.cpp')
0 files changed, 0 insertions, 0 deletions