Coder Social home page Coder Social logo

Update gitattributes to fix about budhud HOT 5 CLOSED

rbjaxter avatar rbjaxter commented on June 24, 2024
Update gitattributes to fix

from budhud.

Comments (5)

rbjaxter avatar rbjaxter commented on June 24, 2024

somehow I was so lost in the sauce that I left in a custom merge driver. it doesn't cause any harm, but I'll need to remove that as well

from budhud.

rbjaxter avatar rbjaxter commented on June 24, 2024

I need someone smarter than me to figure out if there's a way to make these files not binary and show up with diffs. Working tree encoding seems to work when the directory is renormalized, but any time I make a change to these chat_ files it swaps back to binary.

VSCode encoding is set to UTF16LE, which I think is implicitly with BOM. Also worth clarify that the chat_ files cannot be UTF-8 it seems, or really any other encoding? I tried a few different encodings (UTF-8, UTF-16BE, UTF-8-BOM, etc) and none worked in-game.

from budhud.

rbjaxter avatar rbjaxter commented on June 24, 2024

I hope it's not as simple as the filepath not being read properly, I honestly have no idea how I'd check that. I think this used to work in the past, so I should try this:
resource/*.txt text working-tree-encoding=UTF-16LE-BOM

from budhud.

rbjaxter avatar rbjaxter commented on June 24, 2024

When this worked, I had the encoding as ^ that but the chat files themselves were UTF-8. da heck? so should utf-8 encoding be working in-game or not? the only variable is that I was using CRLF with UTF-8, could changing it to LF fix it?

from budhud.

rbjaxter avatar rbjaxter commented on June 24, 2024

Honestly seeming like what I intend isn't possible, utf16lebom files already are kinda weird on github as it is, and having diffs for the chat files doesn't really matter that much since they don't change often

from budhud.

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.