Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for files that specify their encoding #461

Open
kmulka-bloomberg opened this issue Aug 5, 2024 · 0 comments
Open

Support for files that specify their encoding #461

kmulka-bloomberg opened this issue Aug 5, 2024 · 0 comments

Comments

@kmulka-bloomberg
Copy link

I ran into the same issue many had here:
#214

Python source code does have a standard way of specifying the encoding of a file. I suggest pipreqs uses this if available to detect the encoding of the file.

PEP-263: Defining Python Source Code Encodings
https://peps.python.org/pep-0263/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant