Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to compile with non-UTF8 characters #7

Closed
constantm opened this issue Apr 10, 2015 · 3 comments
Closed

Fails to compile with non-UTF8 characters #7

constantm opened this issue Apr 10, 2015 · 3 comments

Comments

@constantm
Copy link

Looks like it works perfectly in development but when running tests it doesn't compile:

Error compiling CSS asset
Sass::SyntaxError: Undefined variable: "$light-gray"
   (sass):268

The variable does indeed exist in a file called vars.scss, and works perfectly in development. I'm not clever enough to figure this out myself, but please let me know what else I can do to help sort this out. :)

EDIT: I figured out this was being caused by non-UTF8 characters such as a copyright sign in my scss files.

@bolandrm
Copy link
Member

Hello, is it possible for you to provide a simplified example of this issue? I'm wondering if it's an issue with libsass itself.

@constantm
Copy link
Author

Simply adding something like a © in one of the files should reproduce this.

@bolandrm bolandrm changed the title Works in development but not test environment Fails to compile with non-UTF8 characters Apr 29, 2015
@bolandrm
Copy link
Member

bolandrm commented May 2, 2015

Fixed! sass/sassc-ruby#2 / sass/sassc-ruby#3

@bolandrm bolandrm closed this as completed May 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants