Coder Social home page Coder Social logo

Comments (4)

mathomp4 avatar mathomp4 commented on June 15, 2024 1

Judging from your comment on #82, I would assume that this issue is fixed, too?

Huh. Weird. This wasn't in my GitHub notifications anymore so I thought it was closed. Yes, I don't see any encoding issues!

from boxes.

tsjensen avatar tsjensen commented on June 15, 2024

Thanks for reporting this! I saw the same problem on one of my machines, too.

The good news is that the files are properly encoded, so everything works. But sometimes, they show up as changed, which is bad. I'm investigating.

The problem was introduced with v2.0.0, when we starting having these different file encodings.

Currently, there are two possible causes, both of which may be true at the same time:

  • working-tree-encoding is only supported in newer Git versions. Incidentally, my machines that show the problem have older gits, and the ones where all is fine have newer Gits.
  • The files might be encoded wrong in the repo, which I am in the process of checking.

from boxes.

tsjensen avatar tsjensen commented on June 15, 2024

It seems to me that the files were in the repo in their target encoding instead of UTF-8. Git wants files to be UTF-8 in the repo, and converts to target encoding as needed upon checkout. This failed because the files were already in the target encoding.

This should be fixed now. The Git version risk remains, but will solve itself over time.

from boxes.

tsjensen avatar tsjensen commented on June 15, 2024

Judging from your comment on #82, I would assume that this issue is fixed, too?

from boxes.

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.