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

Use escaped unicode for maximum compatibility #63

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

BenWoodford
Copy link

@BenWoodford BenWoodford commented Feb 29, 2020

The current SASS outputs the unicode values directly, which in certain scenarios (I'm using it in a very basic application-integrated web server for instance) can break due to lacklustre UTF8 handling.

This PR brings the output in line with Font-Awesome, where the content value in the output CSS is an escaped (I think that's what it's called?) unicode value (e.g. \eae1) rather than missing character square in most text editors so that it doesn't get mangled by any dodgy encoding, etc. As part of this, it removes the \ from the variables as the unicode function added to the mixins file will handle adding this during compilation

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.

1 participant