Skip to content
This repository was archived by the owner on Apr 4, 2019. It is now read-only.
This repository was archived by the owner on Apr 4, 2019. It is now read-only.

Error: @charset may only be used at the root of a document. #45

Open
@nex3

Description

@nex3

From sass/sass#2023:

Take this document one.sass:

@charset "UTF-8"
/*  © Yajo
.other
    @import "other"

Then this another _other.sass:

@charset "UTF-8"
/*  © Yajo
.someclass
    display: none

Then:

sass \
        --cache-location /var/cache/sass\
        --compass\
        --require bootstrap-sass\
        --update /app:/app\

Says:

      error /app/...../static/src/css/_other.sass (Line 1: @charset may only be used at the root of a document.)

... but I need UTF8 for ©! And docs say that @charset only goes into CSS when there's any non-ASCII character, so it should even be automatic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions