Skip to content

fix for reading .scss source files encoded in utf-8 - #19

Open
sKanoodle wants to merge 1 commit into
bcarlin:masterfrom
sKanoodle:patch-1
Open

fix for reading .scss source files encoded in utf-8#19
sKanoodle wants to merge 1 commit into
bcarlin:masterfrom
sKanoodle:patch-1

Conversation

@sKanoodle

Copy link
Copy Markdown

No description provided.

@sKanoodle sKanoodle changed the title fix for reading .css source files encoded in utf-8 fix for reading .scss source files encoded in utf-8 Oct 10, 2017
@SpotlightKid

Copy link
Copy Markdown

IMHO it would be better if Flask-Scss didn't read the input file itself at all, but used scss.Compile.compile instead in flask_scss.Scss.compile_scss:

with codecs.open(dest_path, 'w', 'utf-8') as file_out:
    file_out.write(self.compiler.compile(asset))

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

Successfully merging this pull request may close these issues.

2 participants