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

Error sometimes occurs when trying to compile scss #172

Open
nicoyou opened this issue Aug 25, 2023 · 0 comments
Open

Error sometimes occurs when trying to compile scss #172

nicoyou opened this issue Aug 25, 2023 · 0 comments

Comments

@nicoyou
Copy link

nicoyou commented Aug 25, 2023

Thanks for looking.

Errors may occur when trying to compile using the following commands
python nicoyougames/manage.py compilescss --use-storage

Error when trying to compile scss that contains non-ascii character codes such as the following
div { content: "“"; }
Also, if you change the setting to
SASS_OUTPUT_STYLE = "compact"
to avoid an exception, but the compiled css will be garbled.

The error message is
UnicodeEncodeError: 'cp932' codec can't encode character '\ufeff' in position 0: illegal multibyte sequence

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

1 participant