Skip to content

Minor issue: the requirements.txt file is encoded as a UTF-16 #186

Open
@showgan

Description

This causes the "less" command not to be able to show it since it thinks it's a binary file (even if I set $LANG and $LANGUAGE to UTF-16).

I converted it to UTF-8 and the issue is gone for "less":
iconv -f UTF-16 -t UTF-8 requirements.txt -o requirements.txt2

I suppose it can also be converted to simple ascii as it does not contain any non-English characters:
iconv -f UTF-16 -t ASCII//TRANSLIT requirements.txt -o requirements.txt2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions