Giter Club home page Giter Club logo

Comments (7)

nex3 avatar nex3 commented on May 14, 2024

Merge remote branch 'haml/stable' into stable

Closed by 8296d29

from sass.

ultimatedelman avatar ultimatedelman commented on May 14, 2024

This is again an issue in whatever new release of SASS.

I have a "_scaffolding.scss" file that is imported by all my main .scss files. In it are all my common imports and my @charset declaration. All of the sudden my files show @charset "IBM437" after updating to the most recent version of SASS. It is fixed when I put the declaration on the actual .scss file.

from sass.

nex3 avatar nex3 commented on May 14, 2024

@ultimatedelman I don't completely understand the issue you're reporting. Can you post an example of the file or files that are producing the issue, as well as the output you expect and the output you're actually receiving?

from sass.

ultimatedelman avatar ultimatedelman commented on May 14, 2024

ok let's say i have a file main.scss that generates a main.css file. let's also say i have a file named _partial1.scss in my /partials/ folder.

my main.scss file looks like this:

@import "partials/_partial1";

and my _partial1.scss file looks like this:

@charset "utf-8";

the main.css file output then looks like this:

@charset "IBM437";

instead of:

@charset "utf-8";

from sass.

ultimatedelman avatar ultimatedelman commented on May 14, 2024

you know what, i realized i'm probably posting this in the wrong spot. this is probably a Compass issue. I'm sorry!

from sass.

nex3 avatar nex3 commented on May 14, 2024

That may still be a Sass issue. Sass has a lot of internal @charset handling.

Do either of your files have any non-ASCII characters in them at all? What do you get if you run ruby -e 'p [Encoding.default_internal, Encoding.default_external]' on the command line?

from sass.

nex3 avatar nex3 commented on May 14, 2024

Closing this due to unresponsiveness.

from sass.

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.