Closed dwjorgeb closed 11 months ago
Fixed in commit 6c82ac40ac66cfec2fd010d7bbcf70d5df46e623
Also updated documentation. It is recommended to use Python in utf-8 mode when using this library: https://docs.python.org/3/using/windows.html#win-utf8-mode
bitcoinlib/config/config.py
L126:This check should be case-insensitive, it is error-ing out on
Python >=3.11
, aslocale.getpreferredencoding()
changed from returningUTF-8
toutf-8
https://docs.python.org/3.11/library/locale.html#locale.getpreferredencoding