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

Alternately-encoded file detected as binary #187

Open
miketheman opened this issue Dec 19, 2024 · 0 comments
Open

Alternately-encoded file detected as binary #187

miketheman opened this issue Dec 19, 2024 · 0 comments

Comments

@miketheman
Copy link
Member

https://inspector.pypi.io/project/algfastcoding/31/packages/38/9f/44b9b5c8c32019f682d3c21c3260bec8111306cbaac171aea66c7300a2e7/algfastcoding-31.tar.gz/algfastcoding-31/setup.py is detected as binary, and will not display.

Upon deeper inspection, the file is detected as:

$ file algfastcoding-31/setup.py
algfastcoding-31/setup.py: Python script text executable, ISO-8859 text, with CRLF line terminators
$ head algfastcoding-31/setup.py
# -*-coding:GBK-*-
"""
* ���ߣ�������
* ʱ�䣺2022/1/25 14:00
* ���ܣ����Python��������ڷ�����pypi.org
* ˵���뿴����.txt���ⷢ�����ʹ��ѧ��˼�������������
"""
import sys

from setuptools import setup

Inspector should handle other encodings if possible

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