GithubHelp home page GithubHelp logo

Unicode symbols about less-sbt HOT 7 CLOSED

softprops avatar softprops commented on July 18, 2024
Unicode symbols

from less-sbt.

Comments (7)

softprops avatar softprops commented on July 18, 2024

thanks for reporting this issue @btd Sounds like an encoding bug. I'll look into it.

from less-sbt.

btd avatar btd commented on July 18, 2024

Thank you.

from less-sbt.

softprops avatar softprops commented on July 18, 2024

Having a hard time reproducing this. What version are you using, what OS and what sbt version? I created a branch (bug_28) with a scripted test I tired with both the minify and without and can't reproduce it. Also can you do me a favor and let me know what you get if you type this in your sbt console

> eval System.getProperty("file.encoding")

Maybe I can try testing with that.

from less-sbt.

btd avatar btd commented on July 18, 2024

I tested on sbt 0.11.2 + Win 7 and sbt 0.12.1 + macosx 10.8.

> eval System.getProperty("file.encoding")
[info] ans: java.lang.String = MacCyrillic

from less-sbt.

btd avatar btd commented on July 18, 2024

I just copy repo and run scripted tests and it works. I also tried to copy css from our project and it works also. I a bit confused - i will try to check file encoding or hidden characters.

from less-sbt.

btd avatar btd commented on July 18, 2024

Sorry for so long delay. Problem was in encoding: it seems bug in sublime text 2 at mac - that it shows that it is utf-8. I check it with enca:

mac:WebApp den$ enca ../less-sbt/src/sbt-test/less-sbt/unicode-symbols/src/main/less/foo.less 
Universal transformation format 8 bits; UTF-8
  Doubly-encoded to UTF-8 from maccyr
mac:WebApp den$ enca src/main/less/_mixins.less 
7bit ASCII characters

Thanks for your help, and sorry that take your time on false issue.

from less-sbt.

softprops avatar softprops commented on July 18, 2024

Ah thanks. I tried to prevent this with the charset setting which I think should cover most of the bases. I'll consider this in the next release if I can figure out a way to prevent it. Encoding is hard! :)

from less-sbt.

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.