Git Product home page Git Product logo

Comments (7)

MisterGoodcat avatar MisterGoodcat commented on August 23, 2024

Also tried different hosts (PowerShell, Git Bash), but no luck.

from git-fame.

MisterGoodcat avatar MisterGoodcat commented on August 23, 2024

After digging a bit further and replaying the git commands you're using: I realized the output of these commands does \r\n for line endings on my machine. I have little knowledge of Python, but I've seen regex engines not matching \r\n correctly with $ - might that be the case here?

from git-fame.

casperdcl avatar casperdcl commented on August 23, 2024

have you tried exporting PYTHONIOENCODING=utf-8? I'm quite sure your issue is a unicode character in an author's name

from git-fame.

MisterGoodcat avatar MisterGoodcat commented on August 23, 2024

Thanks for the quick response.

set PYTHONIOENCODING=utf-8

This fixes the error, but breaks the progress bar of tqdm in a bad way (every step in a new line). Additionally:

chcp 65001

Somewhat fixes the progress bar, but it does show the unicode replacement char from time to time. I can live with that :).

IMO this should be added to the docs somewhere?

from git-fame.

MisterGoodcat avatar MisterGoodcat commented on August 23, 2024

Btw. you are correct, even filtering by a single file still lists all the authors of the repo, and one had a German Umlaut in their name. The char also is broken by default but fixed by chcp 65001 also.

from git-fame.

casperdcl avatar casperdcl commented on August 23, 2024

ah, sorry, wasn't reading carefully. You're using Windows, which is, yes, broken. chcp 65001 is a semi-fix, perhaps should mention it in the documentation...

from git-fame.

MisterGoodcat avatar MisterGoodcat commented on August 23, 2024

Thanks for the fix!

from git-fame.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.