hhatto / autopep8

A tool that automatically formats Python code to conform to the PEP 8 style guide.
https://pypi.org/project/autopep8/
MIT License
4.54k stars 291 forks source link

UnicodeEncodeError when formatting code using stdin #685

Open karthiknadig opened 1 year ago

karthiknadig commented 1 year ago

Python Code


print("こんにちは")

Command Line

$ cat <file> | autopep8 -

Your Environment