Document differences in bitcoind
and bitcoin-qt
locale handling.
Since this seems to be the root cause to the locale dependency issues we’ve seen over the years I thought it was worth documenting :)
Note that 1.) QLocale
(used by Qt), 2.) C locale (used by locale-sensitive C standard library functions/POSIX functions and some parts of the C++ standard library such as std::to_string
) and 3.) C++ locale (used by the C++ input/output library) are three separate things. This comment is about the perhaps surprising interference with the C locale (2) that takes place as part of the Qt initialization.