Git Product home page Git Product logo

Comments (6)

garfieldnate avatar garfieldnate commented on June 22, 2024

All fixed in my PR ;) If you could let me know if you are able to merge and release it soonish that would be super helpful; otherwise I'll need to fork it to release the project I've been working on (or, of course, use a different table renderer... but I like this one:) ).

from picnic.

garfieldnate avatar garfieldnate commented on June 22, 2024

I just realized that the issue is actually with the compilation of the test files; my test files also use the special non-ASCII characters, and setting the encoding correctly makes the tests pass on Windows. So I'm not blocked in any way by this ticket. I hope that it can still be a useful contribution for you. Thanks again for the amazing project! :)

from picnic.

jakepurple13 avatar jakepurple13 commented on June 22, 2024

Any updates to this? I've recently ran into this too.

from picnic.

garfieldnate avatar garfieldnate commented on June 22, 2024

@jakepurple13 If you're running into this while testing your own project, I would just set compileTestJava.options.encoding = "UTF-8". This will prevent the issue from affecting your tests, and you won't be dependent on picnic being updated/released.

from picnic.

jakepurple13 avatar jakepurple13 commented on June 22, 2024

I'm trying to make a gradle plugin using this. And I'm also using gradle kts and couldn't find a way to set the compileTestJava one.

Edit:
I think I found a way to change it

tasks.withType<JavaCompile>().let {
    it["compileJava"].options.encoding = "UTF-8"
    it["compileTestJava"].options.encoding = "UTF-8"
}

But it's still not working.

from picnic.

garfieldnate avatar garfieldnate commented on June 22, 2024

I'm sorry, I have no experience writing gradle plugins 🤷 . All my project required was this one simple line: https://github.com/garfieldnate/Weka_AnalogicalModeling/blob/master/build.gradle#L12

from picnic.

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.