Giter Site home page Giter Site logo

Comments (2)

damieng avatar damieng commented on July 23, 2024

There isn't anything in the grammar that is specifically UTF-8 and we're using tree-sitter ^0.20.0 so I'm not sure what needs to be done here - I checked a couple of the other repos but didn't see anything about UTF-16 there either. I would have expected tree-sitter itself to take care of that as it reads the file.

from tree-sitter-c-sharp.

tamasvajk avatar tamasvajk commented on July 23, 2024

Sorry for the noise, I think this issue can be closed. I think the CLI is calling parse, which has a comment Parse a slice of UTF8 text., which explains why this happens. The documentation details TSInput, which does have an encoding.

from tree-sitter-c-sharp.

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.