brigadier icon indicating copy to clipboard operation
brigadier copied to clipboard

LookupError: unknown encoding: cp65001 when system locale is set to UTF-8

Open tkafka opened this issue 4 years ago • 2 comments

Running Brigadier produces this error:

Traceback (most recent call last):
  File "<string>", line 339, in <module>
  File "<string>", line 168, in main
  File "<string>", line 24, in status
LookupError: unknown encoding: cp65001

Windows locale settings:

Screenshot 2021-06-22 170831

tkafka avatar Jun 22 '21 15:06 tkafka

I had the same issue with powershell but running it with a plain cmd worked.

lnu avatar Aug 05 '21 03:08 lnu

I have the same issue and running with plain cmd did not work. How to fix this?

fcrespo82 avatar Jul 12 '22 13:07 fcrespo82