Page MenuHomePhabricator

[backport#17085] init: Change fallback locale to C.UTF-8
ClosedPublic

Authored by majcosta on Dec 24 2020, 02:59.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Commits
rABCd7795abdf91b: [backport#17085] init: Change fallback locale to C.UTF-8
Summary

facb9a1315f97489a20eb0e969fdb14b5128ed2f init: Change fallback locale to C.UTF-8 (Wladimir J. van der Laan)

Pull request description:

Much of our code assumes file system UTF-8 support, and this is a more realistic guess for modern systems anyway than the default character set (which would be ASCII only). So change the assumed fallback locale (if no locale is defined by the user or OS) to `C.UTF-8`.

related: https://github.com/bitcoin/bitcoin/issues/14948#issuecomment-488385462

Backport of Core PR17085

Test Plan
ninja all check check-functional

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable