hhatto / autopep8

A tool that automatically formats Python code to conform to the PEP 8 style guide.

Home Page:https://pypi.org/project/autopep8/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UnicodeEncodeError when formatting code using stdin

karthiknadig opened this issue · comments


Python Code

print("こんにちは")

Command Line

$ cat <file> | autopep8 -

Your Environment

  • Python version: 3.11
  • autopep8 version: 2.0.2
  • Platform: windows/linux