Giter Site home page Giter Site logo

Comments (4)

jutzig avatar jutzig commented on July 27, 2024

In the end this comes down to the target format. When using java property files, both types of line feed are valid, so I don't see an issue here.
What sort of problem are you expecting?

from jabylon.

ramarro123 avatar ramarro123 commented on July 27, 2024

i use this string to draw into an html canvas using pixi as a renderer engine.

the text "a\r\ntest" get rendered with 2 lines like
a


test

the expected result should be

a

test

i can of course do some fixing on the app, so it's not a big deal, just want to make you know of what i found :)

from jabylon.

jutzig avatar jutzig commented on July 27, 2024

It's not that Jabylon takes your linefeed and converts it to \r\n, I don't think that is a choice we can make for the user.
Instead it takes what you enter in the textfield and encodes it in the properties file.
In your case, I assume you're running on Windows, so when you hit enter, you end up with a \r\n linefeed and that's what gets written to the file

from jabylon.

ramarro123 avatar ramarro123 commented on July 27, 2024

i am actually on unix, but probably \r\n it's a standard things on textarea.

anyway i will deal with it on client side, it's not a big deal

from jabylon.

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.